Yen Chi Hsuan
|
40f3666f6b
|
[test/test_http] Update tests for 38cce791c7
|
8 years ago |
Jaime Marquínez Ferrándiz
|
a9eede3913
|
[test/compat] compat_shlex_split: test with newlines
|
8 years ago |
Sergey M․
|
fd7a7498a4
|
[test_all_urls] PEP 8 and change wording
|
8 years ago |
Matthieu Muffato
|
e3a6747d8f
|
New test-case: extractor names are supposed to be unique
@dstftw explained in
https://github.com/rg3/youtube-dl/pull/9918#issuecomment-228625878 that
extractor names are supposed to be unique. @dstftw has fixed the two
offending extractors, and here I add a test to ensure this does not
happen in the future.
|
8 years ago |
remitamine
|
4f3c5e0627
|
[utils] add helper function for parsing codecs
|
8 years ago |
Sergey M․
|
88d9f6c0c4
|
[utils] Add support for name list in _html_search_meta
|
8 years ago |
Yen Chi Hsuan
|
1143535d76
|
[utils] Add urshift()
Used in IqiyiIE and LeIE
|
8 years ago |
Sergey M․
|
46f59e89ea
|
[utils] Add unified_timestamp
|
8 years ago |
Yen Chi Hsuan
|
47212f7bcb
|
[utils] Don't transform numbers not starting with a zero
Fix test_Viidea and maybe others
|
8 years ago |
Yen Chi Hsuan
|
55b2f099c0
|
[utils] Decode HTML5 entities
Used in test_Vporn_1. Also related to #9270
|
8 years ago |
bzc6p
|
b96f007eeb
|
Added sanitization support for Hungarian letters Ő and Ű
|
8 years ago |
Yen Chi Hsuan
|
54fb199681
|
[test/test_http] Fix getsockname() on Jython
|
8 years ago |
Yen Chi Hsuan
|
8c32e5dc32
|
[test/test_utils] Add test for #9588
|
8 years ago |
Yen Chi Hsuan
|
eb7941e3e6
|
[compat] Fix for XML with <!DOCTYPE> in Python 2.7 and 3.2
Such XML documents cause DeprecationWarning if python is run
with `-W error`
|
8 years ago |
Sergey M․
|
46bc9b7d7c
|
[utils] Allow None in remove_{start,end}
|
8 years ago |
Sergey M․
|
364cf465dd
|
[test_utils] PEP 8
|
8 years ago |
Sergey M․
|
89ac4a19e6
|
[utils] Process non-base 10 integers in js_to_json
|
8 years ago |
felix
|
bd1e484448
|
[utils] js_to_json: various improvements
now JS object literals like { /* " */ 0: ",]\xaa<\/p>", } will be correctly converted to JSON.
|
8 years ago |
Yen Chi Hsuan
|
98d560f205
|
[test/test_socks] Skip SOCKS tests
They occasional trigger errors or blocks
(https://travis-ci.org/rg3/youtube-dl/jobs/130184883)
|
8 years ago |
Yen Chi Hsuan
|
778a1ccca7
|
[utils] Add Œ and œ found in French to ACCENT_CHARS
Fixes #9463
|
8 years ago |
Yen Chi Hsuan
|
c2876afafe
|
[test/test_socks] Use a different port range
Seems on Travis CI, ports in the original range are often used.
|
8 years ago |
Yen Chi Hsuan
|
e21f17fc86
|
[test/test_socks] Test with local SOCKS servers
|
8 years ago |
Yen Chi Hsuan
|
edaa23f822
|
[compat] Rename struct_(un)pack to compat_struct_(un)pack
|
8 years ago |
Yen Chi Hsuan
|
72f3289ac4
|
[test/test_socks] Add tests for SOCKS proxies
|
8 years ago |
Yen Chi Hsuan
|
dab0daeeb0
|
[utils,compat] Move struct_pack and struct_unpack to compat.py
|
8 years ago |
Sergey M․
|
fad7bbec3a
|
[test_compat] Remove unused import
|
8 years ago |
Sergey M․
|
20cfdcc910
|
[test_compat] Avoid None values for compat_setenv
|
8 years ago |
Sergey M․
|
1292638754
|
[test_compat] Use compat_setenv
|
8 years ago |
Sergey M․
|
fe40f9eef2
|
[compat] Add compat_setenv
|
8 years ago |
Adam Thalhammer
|
31c4448f6e
|
Instead of replacing accented characters with an underscore when sanitizing file names in restricted mode, replace them with their non-accented equivalents fixes #9347
|
8 years ago |
Adam Thalhammer
|
79a2e94e79
|
Instead of replacing accented characters with an underscore when sanitizing file names in restricted mode, replace them with their non-accented equivalents fixes #9347
|
8 years ago |
remitamine
|
acaff49575
|
[utils] imporove parse_duration to handle more formats
|
8 years ago |
Jaime Marquínez Ferrándiz
|
1b6182d8f7
|
[youtube:playlist] Fetch all the videos in a mix (fixes #3837)
Since there doesn't seem to be any indication, it stops when there aren't new videos in the webpage.
|
8 years ago |
Jaime Marquínez Ferrándiz
|
6a801f4470
|
[test/InfoExtractors] add test for _download_json
|
8 years ago |
Jaime Marquínez Ferrándiz
|
eb9c3edd5e
|
[test/utils] Add test for date_from_str
|
8 years ago |
Yen Chi Hsuan
|
6c4c7539f2
|
[test/helper] Check got values to be strings for md5: fields
Seen in PBSIE tests
|
8 years ago |
Yen Chi Hsuan
|
92d5477d84
|
[compat] Handle tuples properly in urlencode()
Fixes #9055
|
8 years ago |
Sergey M․
|
e289d6d62c
|
[test_compat] Add tests for compat_urllib_parse_urlencode
|
8 years ago |
Yen Chi Hsuan
|
81f36eba88
|
[test/test_utils] Update for escape_url change (again)
|
8 years ago |
Yen Chi Hsuan
|
2d60465e44
|
[test/test_utils] Update for escape_url change
|
8 years ago |
Yen Chi Hsuan
|
efbed08dc2
|
[utils] Encode hostnames before passing to urllib
With IDN (Internationalized Domain Name) and a proxy, non-ascii URLs
are passed down to urllib/urllib2, causing UnicodeEncodeError
Fixes #8890
|
8 years ago |
Jaime Marquínez Ferrándiz
|
782b1b5bd1
|
[utils] lookup_unit_table: Match word boundary instead of end of string
|
8 years ago |
Sergey M․
|
4c3b16d5d1
|
[test_YoutubeDL] Add test for format_id format selection
|
8 years ago |
Sergey M․
|
c5229f3926
|
[utils] PEP 8
|
8 years ago |
Sergey M․
|
fb47597b09
|
[bbc] Generalize unit table lookup and add parse_count
|
8 years ago |
Sergey M․
|
e0dccdd398
|
[test_YoutubeDL] PEP 8
|
8 years ago |
Sergey M․
|
5d583bdf6c
|
[YoutubeDL] Improve _format_note
|
8 years ago |
remitamine
|
3201a67f61
|
[test/test_utils] add more tests for update_url_query
|
8 years ago |
remitamine
|
fb640d0a3d
|
[test/test_utils] add tests for update_url_query
|
8 years ago |
Yen Chi Hsuan
|
429491f531
|
[test/http] Fix failure in Jython
make offlinetest passed on the latest Jython hg version with patched
lib-python/2.7/urllib2.py pulled from CPython 2.7.11
|
8 years ago |