about summary refs log tree commit diff
path: root/youtube_dl/jsinterp.py
Commit message (Collapse)AuthorAgeFilesLines
* [jsinterp] Fix typo and cleanup regexes (closes #13134)Sergey M․2017-05-181-5/+8
|
* [jsinterp] Add support for quoted names and indexers (closes #13123, closes ↵Sergey M․2017-05-181-16/+17
| | | | #13130)
* [youtube] Fix extraction (closes #11663, #11664)Sergey M․2017-01-101-1/+1
|
* [jsinterp] Fix function calls without arguments.Kacper Michajłow2016-11-111-2/+2
|
* [jsinterp] Relax JS function regex (Closes #9863)Sergey M․2016-06-231-1/+1
|
* Revert "[jsinterp] Avoid double key lookup for setting new key"Philipp Hagemeister2016-06-201-3/+5
| | | | This reverts commit 7c05097633138459e9bdf7e10738e021b04689a7.
* [jsinterp] Avoid double key lookup for setting new keyLucas Moura2016-06-191-5/+3
| | | | | | | | 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.
* [jsinterp] Extend function regex (Closes #7900, closes #7901)Sergey M․2015-12-181-1/+1
|
* [jsinterp] Adapt to updated YouTube code generation (Fixes #7623, fixes ↵Philipp Hagemeister2015-11-241-1/+1
| | | | #7624, fixes #7625, fixes #7626)
* [jsinterp] Support alternative function definition formYen Chi Hsuan2015-11-101-2/+2
|
* [jsinterp] Disable comment supportPhilipp Hagemeister2015-02-181-4/+1
| | | | | | | | 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.
* [jsinterp] Correct div commandPhilipp Hagemeister2015-02-021-1/+1
|
* [jsinterp] Beef up and add testsPhilipp Hagemeister2015-02-011-46/+126
| | | | In preparation for #4822, extend jsinterp by a lot. (We may even have to/want to write a proper interpreter with actual parsing)
* Update jsinterp.pytinybug2014-11-211-1/+1
| | | | http://s.ytimg.com/yts/jsbin/html5player-zh_HK-vfl1NK6PR/html5player.js fix raise ExtractorError
* [jsinterp] Fix slicePhilipp Hagemeister2014-07-251-1/+1
|
* [jsinterp] Allow uppercase object namesPhilipp Hagemeister2014-07-251-1/+1
|
* [jsinterp] Do not expect dot in simple function callPhilipp Hagemeister2014-07-241-1/+1
|
* [jsinterp] 'reverse' modifies the array in place (fixes #3334)Jaime Marquínez Ferrándiz2014-07-241-1/+2
|
* [jsinterp] Implement splice and general improvementPhilipp Hagemeister2014-07-241-28/+58
| | | | I still get 403s on YouTube though.
* [jsinterp] Allow digits in function namesPhilipp Hagemeister2014-07-231-2/+2
|
* [youtube & jsinterp] Fix signature extraction (fixes #3255)Jaime Marquínez Ferrándiz2014-07-151-3/+37
| | | | Some functions are defined now inside an object, the jsinterp will search its definition if the variable is not defined in the local namespace.
* [jsinterp] Prevent mis-recognitions of local functionsPhilipp Hagemeister2014-07-111-1/+1
|
* [jsinterp] Remove superfluous uPhilipp Hagemeister2014-07-111-1/+1
|
* [jsinterp] Better error messagesPhilipp Hagemeister2014-03-301-1/+4
|
* [youtube] Move JavaScript interpreter into its own modulePhilipp Hagemeister2014-03-301-0/+113