aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2016-06-16[utils] Don't transform numbers not starting with a zeroYen Chi Hsuan
Fix test_Viidea and maybe others
2016-06-10[utils] Decode HTML5 entitiesYen Chi Hsuan
Used in test_Vporn_1. Also related to #9270
2016-06-02Added sanitization support for Hungarian letters Ő and Űbzc6p
2016-06-02[test/test_http] Fix getsockname() on JythonYen Chi Hsuan
2016-06-02[test/test_utils] Add test for #9588Yen Chi Hsuan
2016-05-23[compat] Fix for XML with <!DOCTYPE> in Python 2.7 and 3.2Yen Chi Hsuan
Such XML documents cause DeprecationWarning if python is run with `-W error`
2016-05-19[utils] Allow None in remove_{start,end}Sergey M․
2016-05-14[test_utils] PEP 8Sergey M․
2016-05-14[utils] Process non-base 10 integers in js_to_jsonSergey M․
2016-05-14[utils] js_to_json: various improvementsfelix
now JS object literals like { /* " */ 0: ",]\xaa<\/p>", } will be correctly converted to JSON.
2016-05-14[test/test_socks] Skip SOCKS testsYen Chi Hsuan
They occasional trigger errors or blocks (https://travis-ci.org/rg3/youtube-dl/jobs/130184883)
2016-05-12[utils] Add Œ and œ found in French to ACCENT_CHARSYen Chi Hsuan
Fixes #9463
2016-05-10[test/test_socks] Use a different port rangeYen Chi Hsuan
Seems on Travis CI, ports in the original range are often used.
2016-05-10[test/test_socks] Test with local SOCKS serversYen Chi Hsuan
2016-05-10[compat] Rename struct_(un)pack to compat_struct_(un)packYen Chi Hsuan
2016-05-10[test/test_socks] Add tests for SOCKS proxiesYen Chi Hsuan
2016-05-10[utils,compat] Move struct_pack and struct_unpack to compat.pyYen Chi Hsuan
2016-05-09[test_compat] Remove unused importSergey M․
2016-05-09[test_compat] Avoid None values for compat_setenvSergey M․
2016-05-09[test_compat] Use compat_setenvSergey M․
2016-05-09[compat] Add compat_setenvSergey M․
2016-05-02Instead of replacing accented characters with an underscore when sanitizing ↵Adam Thalhammer
file names in restricted mode, replace them with their non-accented equivalents fixes #9347
2016-05-02Instead of replacing accented characters with an underscore when sanitizing ↵Adam Thalhammer
file names in restricted mode, replace them with their non-accented equivalents fixes #9347
2016-04-21Merge pull request #9110 from remitamine/parse_durationSergey M
[utils] imporove parse_duration to handle more formats
2016-04-21[utils] imporove parse_duration to handle more formatsremitamine
2016-04-17[youtube:playlist] Fetch all the videos in a mix (fixes #3837)Jaime Marquínez Ferrándiz
Since there doesn't seem to be any indication, it stops when there aren't new videos in the webpage.
2016-04-09[test/InfoExtractors] add test for _download_jsonJaime Marquínez Ferrándiz
2016-04-09[test/utils] Add test for date_from_strJaime Marquínez Ferrándiz
2016-04-09[test/helper] Check got values to be strings for md5: fieldsYen Chi Hsuan
Seen in PBSIE tests
2016-04-06[compat] Handle tuples properly in urlencode()Yen Chi Hsuan
Fixes #9055
2016-03-26[test_compat] Add tests for compat_urllib_parse_urlencodeSergey M․
2016-03-23[test/test_utils] Update for escape_url change (again)Yen Chi Hsuan
2016-03-23[test/test_utils] Update for escape_url changeYen Chi Hsuan
2016-03-23[utils] Encode hostnames before passing to urllibYen Chi Hsuan
With IDN (Internationalized Domain Name) and a proxy, non-ascii URLs are passed down to urllib/urllib2, causing UnicodeEncodeError Fixes #8890
2016-03-19[utils] lookup_unit_table: Match word boundary instead of end of stringJaime Marquínez Ferrándiz
2016-03-19[test_YoutubeDL] Add test for format_id format selectionSergey M․
2016-03-16[utils] PEP 8Sergey M․
2016-03-16Merge pull request #8092 from bpfoley/twitter-thumbnailremitamine
[utils] Add extract_attributes for extracting html tag attributes
2016-03-13[bbc] Generalize unit table lookup and add parse_countSergey M․
2016-03-10[test_YoutubeDL] PEP 8Sergey M․
2016-03-10[YoutubeDL] Improve _format_noteSergey M․
2016-03-03Merge pull request #8739 from remitamine/update_url_paramsremitamine
[utils] add update_url_query function to create or update query string params
2016-03-03[test/test_utils] add more tests for update_url_queryremitamine
2016-03-03[test/test_utils] add tests for update_url_queryremitamine
2016-03-03[test/http] Fix failure in JythonYen Chi Hsuan
make offlinetest passed on the latest Jython hg version with patched lib-python/2.7/urllib2.py pulled from CPython 2.7.11
2016-03-03[jython] Introduce compat_os_nameYen Chi Hsuan
os.name is always 'java' on Jython
2016-03-03[utils] Add extract_attributes for extracting html tag attributesBrian Foley
This is much more robust than just using regexps, and handles all the common scenarios, such as empty/no values, repeated attributes, entity decoding, mixed case names, and the different possible value quoting schemes.
2016-02-27[utils] Multiple changes to base_n()Yen Chi Hsuan
1. Renamed to encode_base_n() 2. Allow tables longer than 62 characters 3. Raise ValueError instead of AssertionError for invalid input data 4. Return the first character in the table instead of '0' for number 0 5. Add tests
2016-02-25[utils] Remove AM/PM from unified_strdate patternsSergey M․
2016-02-20[test_iqiyi_sdk_interpreter] Add test for iQiyi loginYen Chi Hsuan