aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | [test/compat] compat_shlex_split: test with newlinesJaime Marquínez Ferrándiz2016-07-011-0/+1
| |
* | [test_all_urls] PEP 8 and change wordingSergey M․2016-06-271-3/+5
| |
* | New test-case: extractor names are supposed to be uniqueMatthieu Muffato2016-06-271-0/+8
| | | | | | | | | | | | | | | | @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.
* | [utils] Add support for name list in _html_search_metaSergey M․2016-06-261-1/+6
| |
* | [utils] Add urshift()Yen Chi Hsuan2016-06-261-0/+5
| | | | | | | | Used in IqiyiIE and LeIE
* | [utils] Add unified_timestampSergey M․2016-06-251-0/+21
|/
* [utils] Don't transform numbers not starting with a zeroYen Chi Hsuan2016-06-161-0/+3
| | | | Fix test_Viidea and maybe others
* [utils] Decode HTML5 entitiesYen Chi Hsuan2016-06-101-0/+2
| | | | Used in test_Vporn_1. Also related to #9270
* Added sanitization support for Hungarian letters Ő and Űbzc6p2016-06-021-2/+2
|
* [test/test_http] Fix getsockname() on JythonYen Chi Hsuan2016-06-021-1/+1
|
* [test/test_utils] Add test for #9588Yen Chi Hsuan2016-06-021-8/+47
|
* [compat] Fix for XML with <!DOCTYPE> in Python 2.7 and 3.2Yen Chi Hsuan2016-05-231-0/+6
| | | | | Such XML documents cause DeprecationWarning if python is run with `-W error`
* [utils] Allow None in remove_{start,end}Sergey M․2016-05-191-0/+12
|
* [test_utils] PEP 8Sergey M․2016-05-141-1/+0
|
* [utils] Process non-base 10 integers in js_to_jsonSergey M․2016-05-141-0/+19
|
* [utils] js_to_json: various improvementsfelix2016-05-141-0/+12
| | | | now JS object literals like { /* " */ 0: ",]\xaa<\/p>", } will be correctly converted to JSON.
* [test/test_socks] Skip SOCKS testsYen Chi Hsuan2016-05-141-0/+11
| | | | | They occasional trigger errors or blocks (https://travis-ci.org/rg3/youtube-dl/jobs/130184883)
* [utils] Add Œ and œ found in French to ACCENT_CHARSYen Chi Hsuan2016-05-121-2/+2
| | | | Fixes #9463
* [test/test_socks] Use a different port rangeYen Chi Hsuan2016-05-101-1/+1
| | | | Seems on Travis CI, ports in the original range are often used.
* [test/test_socks] Test with local SOCKS serversYen Chi Hsuan2016-05-101-3/+39
|
* [compat] Rename struct_(un)pack to compat_struct_(un)packYen Chi Hsuan2016-05-101-2/+2
|
* [test/test_socks] Add tests for SOCKS proxiesYen Chi Hsuan2016-05-102-0/+76
|
* [utils,compat] Move struct_pack and struct_unpack to compat.pyYen Chi Hsuan2016-05-102-4/+5
|
* [test_compat] Remove unused importSergey M․2016-05-091-1/+0
|
* [test_compat] Avoid None values for compat_setenvSergey M․2016-05-091-1/+1
|
* [test_compat] Use compat_setenvSergey M․2016-05-091-7/+3
|
* [compat] Add compat_setenvSergey M․2016-05-091-0/+8
|
* Instead of replacing accented characters with an underscore when sanitizing ↵Adam Thalhammer2016-05-021-1/+0
| | | | file names in restricted mode, replace them with their non-accented equivalents fixes #9347
* Instead of replacing accented characters with an underscore when sanitizing ↵Adam Thalhammer2016-05-021-2/+7
| | | | file names in restricted mode, replace them with their non-accented equivalents fixes #9347
* Merge pull request #9110 from remitamine/parse_durationSergey M2016-04-211-0/+1
|\ | | | | [utils] imporove parse_duration to handle more formats
| * [utils] imporove parse_duration to handle more formatsremitamine2016-04-211-0/+1
| |
* | [youtube:playlist] Fetch all the videos in a mix (fixes #3837)Jaime Marquínez Ferrándiz2016-04-171-1/+1
| | | | | | | | Since there doesn't seem to be any indication, it stops when there aren't new videos in the webpage.
* | [test/InfoExtractors] add test for _download_jsonJaime Marquínez Ferrándiz2016-04-091-0/+10
| |
* | [test/utils] Add test for date_from_strJaime Marquínez Ferrándiz2016-04-091-0/+8
| |
* | [test/helper] Check got values to be strings for md5: fieldsYen Chi Hsuan2016-04-091-0/+3
|/ | | | Seen in PBSIE tests
* [compat] Handle tuples properly in urlencode()Yen Chi Hsuan2016-04-061-0/+4
| | | | Fixes #9055
* [test_compat] Add tests for compat_urllib_parse_urlencodeSergey M․2016-03-261-0/+7
|
* [test/test_utils] Update for escape_url change (again)Yen Chi Hsuan2016-03-231-1/+1
|
* [test/test_utils] Update for escape_url changeYen Chi Hsuan2016-03-231-1/+1
|
* [utils] Encode hostnames before passing to urllibYen Chi Hsuan2016-03-231-0/+10
| | | | | | | With IDN (Internationalized Domain Name) and a proxy, non-ascii URLs are passed down to urllib/urllib2, causing UnicodeEncodeError Fixes #8890
* [utils] lookup_unit_table: Match word boundary instead of end of stringJaime Marquínez Ferrándiz2016-03-191-0/+2
|
* [test_YoutubeDL] Add test for format_id format selectionSergey M․2016-03-191-0/+5
|
* [utils] PEP 8Sergey M․2016-03-161-3/+3
|
* Merge pull request #8092 from bpfoley/twitter-thumbnailremitamine2016-03-161-0/+40
|\ | | | | [utils] Add extract_attributes for extracting html tag attributes
| * [utils] Add extract_attributes for extracting html tag attributesBrian Foley2016-03-031-0/+40
| | | | | | | | | | | | | | 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.
* | [bbc] Generalize unit table lookup and add parse_countSergey M․2016-03-131-0/+10
| |
* | [test_YoutubeDL] PEP 8Sergey M․2016-03-101-1/+0
| |
* | [YoutubeDL] Improve _format_noteSergey M․2016-03-101-0/+4
| |
* | Merge pull request #8739 from remitamine/update_url_paramsremitamine2016-03-031-0/+37
|\ \ | | | | | | [utils] add update_url_query function to create or update query string params
| * | [test/test_utils] add more tests for update_url_queryremitamine2016-03-031-0/+9
| | |