aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/jsinterp.py
AgeCommit message (Collapse)Author
2016-11-11[jsinterp] Fix function calls without arguments.Kacper Michajłow
2016-06-23[jsinterp] Relax JS function regex (Closes #9863)Sergey M․
2016-06-20Revert "[jsinterp] Avoid double key lookup for setting new key"Philipp Hagemeister
This reverts commit 7c05097633138459e9bdf7e10738e021b04689a7.
2016-06-19[jsinterp] Avoid double key lookup for setting new keyLucas Moura
In order to add a new key to both __objects and __functions dicts on jsinterp.py, it is necessary to first verify if a key was present and if not, create the key and assign it to a value. However, this can be done with a single step using dict setdefault method.
2015-12-18[jsinterp] Extend function regex (Closes #7900, closes #7901)Sergey M․
2015-11-24[jsinterp] Adapt to updated YouTube code generation (Fixes #7623, fixes ↵Philipp Hagemeister
#7624, fixes #7625, fixes #7626)
2015-11-10[jsinterp] Support alternative function definition formYen Chi Hsuan
2015-02-18[jsinterp] Disable comment supportPhilipp Hagemeister
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.
2015-02-02[jsinterp] Correct div commandPhilipp Hagemeister
2015-02-01[jsinterp] Beef up and add testsPhilipp Hagemeister
In preparation for #4822, extend jsinterp by a lot. (We may even have to/want to write a proper interpreter with actual parsing)
2014-11-21Update jsinterp.pytinybug
http://s.ytimg.com/yts/jsbin/html5player-zh_HK-vfl1NK6PR/html5player.js fix raise ExtractorError
2014-07-25[jsinterp] Fix slicePhilipp Hagemeister
2014-07-25[jsinterp] Allow uppercase object namesPhilipp Hagemeister
2014-07-24[jsinterp] Do not expect dot in simple function callPhilipp Hagemeister
2014-07-24[jsinterp] 'reverse' modifies the array in place (fixes #3334)Jaime Marquínez Ferrándiz
2014-07-24[jsinterp] Implement splice and general improvementPhilipp Hagemeister
I still get 403s on YouTube though.
2014-07-23[jsinterp] Allow digits in function namesPhilipp Hagemeister
2014-07-15[youtube & jsinterp] Fix signature extraction (fixes #3255)Jaime Marquínez Ferrándiz
Some functions are defined now inside an object, the jsinterp will search its definition if the variable is not defined in the local namespace.
2014-07-11[jsinterp] Prevent mis-recognitions of local functionsPhilipp Hagemeister
2014-07-11[jsinterp] Remove superfluous uPhilipp Hagemeister
2014-03-30[jsinterp] Better error messagesPhilipp Hagemeister
2014-03-30[youtube] Move JavaScript interpreter into its own modulePhilipp Hagemeister