aboutsummaryrefslogtreecommitdiff
path: root/test/test_utils.py
AgeCommit message (Collapse)Author
2017-03-26[test_utils] Fix expand_path testsSergey M․
2017-03-26[utils] Introduce expand_pathSergey M․
2017-03-06[utils] Process bytestrings in urljoin (closes #12369)Sergey M․
2017-02-28[utils] Add pkcs1padYen Chi Hsuan
Used in daisuki.net (#4738)
2017-02-11Introduce get_elements_by_class and get_elements_by_attribute utility functionsThomas Christlieb
2017-02-03[utils] Improve comments processing in js_to_json (closes #11947)Sergey M․
2017-02-03[utils] Handle single-line comments in js_to_jsonMichal Čihař
2017-01-26[utils] Improve parse_durationSergey M․
2017-01-12[utils] Add more date formatsSergey M․
2016-12-20[common] fix dash codec information for mixed videos and fragment url ↵Remita Amine
construction(#11490)
2016-12-17[utils] Improve urljoinSergey M․
2016-12-13[utils] Add convenience urljoinSergey M․
2016-11-17Update coding style after pycodestyle 2.1.0Yen Chi Hsuan
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
2016-11-02[utils] Introduce base_urlSergey M․
2016-09-29[utils] Lower priority for rare date formats and add testsSergey M․
2016-09-14[utils] Use native french month namesSergey M․
2016-09-14[utils] Improve month_by_name and add testsSergey M․
2016-09-02[utils] Improve mimetype2extSergey M․
2016-08-20[utils] Recognize units with full names in parse_filenameYen Chi Hsuan
Reference: https://en.wikipedia.org/wiki/Template:Quantities_of_bytes
2016-08-19[utils] Correct octal/hexadecimal number detection in js_to_jsonYen Chi Hsuan
2016-08-18[utils] Recognize lowercase units in parse_filesizeSergey M․
2016-08-13[test_utils] add test for option with not str valueRemita Amine
2016-08-07[utils] Add support TV Parental Guidelines ratings in parse_age_limitSergey M․
2016-08-05[utils] Fix unified_timestamp for formats parsed by parsedate_tz()Yen Chi Hsuan
2016-07-10Merge pull request #8876 from remitamine/html5_mediaYen Chi Hsuan
[extractor/common] add helper method to extract html5 media entries
2016-07-06[utils] Add get_element_by_classYen Chi Hsuan
For #9950
2016-07-04[test_utils] add test for smuggling a smuggled urlRemita Amine
2016-06-26[utils] add helper function for parsing codecsremitamine
2016-06-26[utils] Add urshift()Yen Chi Hsuan
Used in IqiyiIE and LeIE
2016-06-25[utils] Add unified_timestampSergey M․
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-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-12[utils] Add Œ and œ found in French to ACCENT_CHARSYen Chi Hsuan
Fixes #9463
2016-05-10[utils,compat] Move struct_pack and struct_unpack to compat.pyYen Chi Hsuan
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-09[test/utils] Add test for date_from_strJaime Marquínez Ferrándiz
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-19[utils] lookup_unit_table: Match word boundary instead of end of stringJaime Marquínez Ferrándiz
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․