summaryrefslogtreecommitdiffstats
path: root/test/test_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* [utils] Handle HTMLParseError in extract_attributes (closes #13349)Sergey M․2017-06-121-0/+2
|
* [utils] Improve unified_timestampSergey M․2017-06-111-0/+1
|
* [utils] Recognize more patterns in strip_jsonp()Yen Chi Hsuan2017-05-261-0/+8
| | | | Used in Youku Show pages
* [cda] Implement birthday verification (closes #12789)Yen Chi Hsuan2017-05-041-0/+11
|
* [utils] Improve unified_timestampSergey M․2017-04-301-0/+1
| | | | Seen at http://zaq1.pl/video/xev0e
* [test_utils] Add one more clean_html testTithen-Firion2017-04-281-0/+1
|
* [utils] add support for ttml stylesRemita Amine2017-04-191-0/+41
|
* [test_utils] Do not use dash in env variables' namesSergey M․2017-03-261-4/+4
|
* [test_utils] Fix expand_path testsSergey M․2017-03-261-3/+8
|
* [utils] Introduce expand_pathSergey M․2017-03-261-0/+10
|
* [utils] Process bytestrings in urljoin (closes #12369)Sergey M․2017-03-061-0/+3
|
* [utils] Add pkcs1padYen Chi Hsuan2017-02-281-0/+9
| | | | Used in daisuki.net (#4738)
* Introduce get_elements_by_class and get_elements_by_attribute utility functionsThomas Christlieb2017-02-111-0/+29
|
* [utils] Improve comments processing in js_to_json (closes #11947)Sergey M․2017-02-031-0/+24
|
* [utils] Handle single-line comments in js_to_jsonMichal Čihař2017-02-031-0/+3
|
* [utils] Improve parse_durationSergey M․2017-01-261-0/+1
|
* [utils] Add more date formatsSergey M․2017-01-121-0/+3
|
* [common] fix dash codec information for mixed videos and fragment url ↵Remita Amine2016-12-201-0/+1
| | | | construction(#11490)
* [utils] Improve urljoinSergey M․2016-12-171-0/+3
|
* [utils] Add convenience urljoinSergey M․2016-12-131-0/+14
|
* Update coding style after pycodestyle 2.1.0Yen Chi Hsuan2016-11-171-0/+1
| | | | | | | | | | In pycodestyle 2.1.0, E305 was introduced, which requires two blank lines after top level declarations, too. See https://github.com/PyCQA/pycodestyle/issues/400 See also #10689; thanks @stepshal for first mentioning this issue and initial patches
* [utils] Introduce base_urlSergey M․2016-11-021-0/+8
|
* [utils] Lower priority for rare date formats and add testsSergey M․2016-09-291-0/+2
|
* [utils] Use native french month namesSergey M․2016-09-141-4/+2
|
* [utils] Improve month_by_name and add testsSergey M․2016-09-141-0/+11
|
* [utils] Improve mimetype2extSergey M․2016-09-021-0/+9
|
* [utils] Recognize units with full names in parse_filenameYen Chi Hsuan2016-08-201-0/+1
| | | | Reference: https://en.wikipedia.org/wiki/Template:Quantities_of_bytes
* [utils] Correct octal/hexadecimal number detection in js_to_jsonYen Chi Hsuan2016-08-191-0/+3
|
* [utils] Recognize lowercase units in parse_filesizeSergey M․2016-08-181-0/+2
|
* [test_utils] add test for option with not str valueRemita Amine2016-08-131-0/+1
|
* [utils] Add support TV Parental Guidelines ratings in parse_age_limitSergey M․2016-08-071-0/+15
|
* [utils] Fix unified_timestamp for formats parsed by parsedate_tz()Yen Chi Hsuan2016-08-051-0/+1
|
* Merge pull request #8876 from remitamine/html5_mediaYen Chi Hsuan2016-07-101-0/+24
|\ | | | | [extractor/common] add helper method to extract html5 media entries
| * [utils] add helper function for parsing codecsremitamine2016-06-261-0/+24
| |
* | [utils] Add get_element_by_classYen Chi Hsuan2016-07-061-0/+9
| | | | | | | | For #9950
* | [test_utils] add test for smuggling a smuggled urlRemita Amine2016-07-041-0/+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
|
* [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.
* [utils] Add Œ and œ found in French to ACCENT_CHARSYen Chi Hsuan2016-05-121-2/+2
| | | | Fixes #9463
* [utils,compat] Move struct_pack and struct_unpack to compat.pyYen Chi Hsuan2016-05-101-4/+0
|
* 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