]> git.bitcoin.ninja Git - youtube-dl/commit
[jsinterp] Disable comment support
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 18 Feb 2015 09:47:40 +0000 (10:47 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 18 Feb 2015 09:47:42 +0000 (10:47 +0100)
commit3eff81fbf72939abf885afcca2f1155cc976999b
tree6e6a48c9f37b4a217860b8f8986b0cf177fd2a37
parent785521bf4fbd99b2916bdab5d847d84424196c1d
[jsinterp] Disable comment support

We need a proper lexer to be able to understand YouTube's code, which contains /* inside of strings.
For now it's sufficient to just disable comment support altogether.

Fixes #4976, fixes #4979, fixes #4980, fixes #4981, fixes #4982.
Closes #4977.
test/test_jsinterp.py
test/test_youtube_signature.py
youtube_dl/jsinterp.py