Philipp Hagemeister
3eff81fbf7
[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 .
9 years ago
Philipp Hagemeister
6a78740211
[test/test_youtube_signature] Use fake YDL
9 years ago
Michael Käufl
498942f187
[test_youtube_signature] Fix import
Broken in commit 8c25f81bee
10 years ago
Philipp Hagemeister
6be451f422
[youtube] Remove swf signature test cases
These files are now 0 Bytes
10 years ago
Philipp Hagemeister
4bc7009e8a
[jsinterp] Add new testcase
10 years ago
Philipp Hagemeister
42f4dcfe41
[test_youtube_signatures] Modernize
10 years ago
Jaime Marquínez Ferrándiz
ebe832dc37
[jsinterp] 'reverse' modifies the array in place ( fixes #3334 )
10 years ago
Philipp Hagemeister
9f43890bcd
[jsinterp] Allow digits in function names
10 years ago
Philipp Hagemeister
b6ea11b967
[youtube] Add swf signature test case ( #3270 )
10 years ago
Philipp Hagemeister
7fd48d0413
[youtube] Correct signature testcase
10 years ago
Philipp Hagemeister
5425626790
[youtube] Move swfinterp into its own file
10 years ago
Jaime Marquínez Ferrándiz
ad25aee245
[youtube & jsinterp] Fix signature extraction ( fixes #3255 )
Some functions are defined now inside an object, the jsinterp will search its definition if the variable is not defined in the local namespace.
10 years ago
Philipp Hagemeister
f64ebfe3e5
[youtube] Correct signature test
10 years ago
Philipp Hagemeister
6f9d4d542f
[youtube] Add test for new signature scheme ( #3232 )
10 years ago
Jaime Marquínez Ferrándiz
bc4850908c
[test/youtube_signature] Add a test with the last player
To verify it correctly handles function with “$” in their names.
10 years ago
Philipp Hagemeister
8307aa73fb
Remove youtube swf signature test
Apparently, swf players are no longer in use. If we find one, we'll readd it.
11 years ago
Philipp Hagemeister
d0efb9ec9a
[tests] Remove global_setup function
11 years ago
Philipp Hagemeister
44a5f1718a
Simplify tests
* Make them directly executable again
* Move common stuff (md5, parameters) to helper
* Never import *
* General clean up
11 years ago
Philipp Hagemeister
45f4a76dbc
Work around nosetests nosiness
11 years ago
Philipp Hagemeister
95dbd2f990
Change test target (Verified with node.js)
11 years ago
Philipp Hagemeister
e0df6211cc
Restore accidentally deleted commits
That's what happens if you let Windows machines write :(
11 years ago