Philipp Hagemeister
155f9550c0
[test/helper] Fix newlines in output of missing test fields
10 years ago
Philipp Hagemeister
dcddc10a50
[test_unicode_literals] Arm unicode_literals check
...
From now on, the line
from __future__ import unicode_literals
should be contained in every single Python file lest we run into any more 2.x/3.x issues.
Going forward, we're likely to develop on 3.x only and would likely miss subtle bugs otherwise.
10 years ago
Philipp Hagemeister
e075a44afb
[tests] Remove useless u prefixes
10 years ago
Philipp Hagemeister
be64b5b098
[xminus] Simplify and extend ( #4302 )
10 years ago
Jouke Waleson
9e1a5b8455
PEP8: applied even more rules
10 years ago
Jouke Waleson
8bcc875676
PEP8: more applied
10 years ago
Jouke Waleson
5f6a1245ff
PEP8 applied
10 years ago
Philipp Hagemeister
7d4111ed14
Provide guidance when called with a YouTube ID starting with a dash.
...
Reported at https://news.ycombinator.com/item?id=8648121
10 years ago
Jaime Marquínez Ferrándiz
f56875f271
[test/test_compat] Restore the old value of the HOME environment variable
...
If the test was run before the YoutubeIE tests (for example by running
"nosetests -v test/test_compat.py test/test_download.py -m 'Youtube_1|compat_expand'"),
it wrote the signatures cache to the 'C:\Documents and Settings\тест\Application Data' folder.
It failed due to a problem in the cache code and the write_json_file function (fixed in f03e33b89a622af13fa5275c46b63aaa4814c499)
10 years ago
Philipp Hagemeister
fbf94a7815
[swfinterp] Add more builtins and improve static variables
10 years ago
Philipp Hagemeister
cd9ad1d7e8
[swfinterp] Basic support for constants (only ints for now)
10 years ago
Philipp Hagemeister
33a266f4ba
[swfinterp] Implement charCodeAt
10 years ago
Philipp Hagemeister
8d05f2c16a
[swfinterp] Add support for void methods
10 years ago
Philipp Hagemeister
eb5376044c
[swfinterp] Implement equals opcode
10 years ago
Philipp Hagemeister
3cbcff8a2d
[swfinterp] Implement String basics
10 years ago
Philipp Hagemeister
e983cf5277
[swfinterp] Interpret yet more opcodes
10 years ago
Philipp Hagemeister
0ab1ca5501
[swfinterp] Better error message
10 years ago
Philipp Hagemeister
4baafa229d
[swfinterp] Intepret more multinames
10 years ago
Philipp Hagemeister
7f3e33a147
[swfinterp] Implement member assignment
10 years ago
Philipp Hagemeister
a0f59cdcb4
[tests] Modernize
10 years ago
Philipp Hagemeister
6a68bb574a
[eporner] Fix duration ( Closes #4188 )
10 years ago
Philipp Hagemeister
609a61e3e6
[npo] Improve npo.nl ( Fixes #4173 )
10 years ago
Philipp Hagemeister
4c0924bb24
[utils] Fix intlist_to_bytes in Python 2 ( #4181 )
10 years ago
Philipp Hagemeister
e4bdb37ec6
[spiegel] Add support for embeds
10 years ago
Philipp Hagemeister
3e6e4999ca
[test/helper] Improve output
10 years ago
Michael Käufl
498942f187
[test_youtube_signature] Fix import
...
Broken in commit 8c25f81bee
10 years ago
Philipp Hagemeister
12ea2f30cf
[utils] Remove unused get_meta_content function
10 years ago
Philipp Hagemeister
278143df5b
[test_compat] Ignore unicode_literals
10 years ago
Jaime Marquínez Ferrándiz
ac35c26686
[tests] Don't auto init YoutubeDL
...
It would print the debug headers for each test.
And nose uses a StringIO object for stdout, which in python 2.x doesn't have the 'encoding' attribute.
10 years ago
Philipp Hagemeister
42f7d2f588
[test_download] Fix import
10 years ago
Philipp Hagemeister
39f0a2a6b7
[test_swfinterp] Correct compilation on modern mxmlc versions
10 years ago
Philipp Hagemeister
8c25f81bee
[util] Move compatibility functions out of util
...
utils is large enough without these compatibility functions.
Everything that is present in newer versions of Python (i.e. with dev Python it's just an import) goes into compat.py .
Everything else (i.e. youtube-dl-specific helpers) goes into utils.py .
10 years ago
Philipp Hagemeister
7d11297f3f
Merge branch 'master' of github.com:rg3/youtube-dl
10 years ago
Philipp Hagemeister
6ad4013d40
[drtv] Allow fractional timestamps ( Fixes #4059 )
10 years ago
Jaime Marquínez Ferrándiz
8abec2c8bb
[test_utils] Fix compat_getenv and compat_expanduser tests on python 3.x
10 years ago
Philipp Hagemeister
f744c0f398
[test_download] Improve error message
10 years ago
Philipp Hagemeister
70b7e3fbb6
[generic] Add a test case for direct links with broken HEAD ( #4032 )
10 years ago
Sergey M․
f889cea109
Merge branch 'compat-getenv-and-expanduser' of https://github.com/dstftw/youtube-dl into dstftw-compat-getenv-and-expanduser
...
Conflicts:
test/test_utils.py
youtube_dl/__init__.py
10 years ago
Philipp Hagemeister
c64ed2a310
[viddler] Use API
10 years ago
Sergey M
4510d14f0a
[twitch] Update tests
10 years ago
Sergey M․
0ca41c3d9c
[walla] Fix typo
10 years ago
Sergey M․
7bc8780c57
[walla] Fix extractor and add subtitle tests
10 years ago
Philipp Hagemeister
e7b6d12254
[utils] Improve and test js_to_json
10 years ago
Philipp Hagemeister
410f3e73ab
[utils] Fix js_to_json
10 years ago
Sergey M․
4644ac5527
[core] Decode environment variables with filesystem encoding ( Fixes #3854 , Fixes #3217 , Fixes #2918 )
...
Introduces compat versions of os.getenv and os.path.expanduser
10 years ago
Philipp Hagemeister
c0f64ac689
[test/helper] Improve output of missing test definition dictionaries
10 years ago
Philipp Hagemeister
7a08ad7d59
[test/helper] Modernize
10 years ago
Philipp Hagemeister
99b67fecc5
[arte] Fix upload date extraction
10 years ago
Philipp Hagemeister
6be451f422
[youtube] Remove swf signature test cases
...
These files are now 0 Bytes
10 years ago
Philipp Hagemeister
9c44d2429b
[vimeo:likes] Support large like lists ( Fixes #3847 )
10 years ago