aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/search.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2020-01-24 14:11:59 -0800
committerJames Taylor <user234683@users.noreply.github.com>2020-01-24 14:11:59 -0800
commitb2a1f4ecfb47746b274481eb2c04c904fdce64f6 (patch)
treec6c4a1702f93277f7fa47f02bfcb0d078e096e98 /youtube/search.py
parentc13a8f677dd0e2fe5e3ee260d51e95665d71ba36 (diff)
downloadyt-local-b2a1f4ecfb47746b274481eb2c04c904fdce64f6.tar.lz
yt-local-b2a1f4ecfb47746b274481eb2c04c904fdce64f6.tar.xz
yt-local-b2a1f4ecfb47746b274481eb2c04c904fdce64f6.zip
Fix signature decryption.
The function body regex was capturing some unrelated new code before the actual function body. Example: `function(a){a=a.split("");var b=[function(c,d){d=(d%c.length+c.length)%c.length;c.splice(-d).reverse().forEach(function(e){return c.unshift(e)}` If you look closely, the closing bracket doesn't match the opening one. I have added `{` to the `[^\}]+` part to make sure it only captures matching brackets. Additionally, I've added `return a\.join\(""\)` to the end for good measure.
Diffstat (limited to 'youtube/search.py')
0 files changed, 0 insertions, 0 deletions