Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-15 | [utils] Fix getheader in urlhandle_detect_ext | Yen Chi Hsuan | |
Fixes #7049, related to #9440 | |||
2016-05-14 | [utils] Simplify integer conversion in js_to_json | Sergey M․ | |
2016-05-14 | [utils] Process non-base 10 integers in js_to_json | Sergey M․ | |
2016-05-14 | [utils] js_to_json: various improvements | felix | |
now JS object literals like { /* " */ 0: ",]\xaa<\/p>", } will be correctly converted to JSON. | |||
2016-05-13 | [utils] Unquote crendentials passed to SOCKS proxies | Yen Chi Hsuan | |
Fixes #9450 | |||
2016-05-12 | [utils] Add Œ and œ found in French to ACCENT_CHARS | Yen Chi Hsuan | |
Fixes #9463 | |||
2016-05-10 | [compat] Rename shlex_quote and remove unused subprocess_check_output | Yen Chi Hsuan | |
2016-05-10 | [compat] Rename struct_(un)pack to compat_struct_(un)pack | Yen Chi Hsuan | |
2016-05-10 | [utils] Add rationale for register_socks_protocols | Yen Chi Hsuan | |
2016-05-10 | [utils] Register SOCKS protocols in urllib and support SOCKS4A | Yen Chi Hsuan | |
2016-05-10 | [socks] Support SOCKS proxies | Yen Chi Hsuan | |
2016-05-10 | [utils,compat] Move struct_pack and struct_unpack to compat.py | Yen Chi Hsuan | |
2016-05-06 | [utils] Allow empty attribute values in get_element_by_attribute (Closes #9415) | Sergey M․ | |
2016-05-03 | improved performance by extracting accented chars to top level | Adam Thalhammer | |
2016-05-02 | Instead 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-25 | [utils] Allow None mimetypes in mimetype2ext | Sergey M․ | |
2016-04-21 | Merge pull request #9110 from remitamine/parse_duration | Sergey M | |
[utils] imporove parse_duration to handle more formats | |||
2016-04-21 | [utils] imporove parse_duration to handle more formats | remitamine | |
2016-04-09 | [utils] Don't touch URLs if not necessary | Yen Chi Hsuan | |
Fix test_Generic_15 (Google redirect) | |||
2016-04-04 | [utils] dfxp2srt: add additional namespace | Jaime Marquínez Ferrándiz | |
Used by the ZDF subtitles (#9081). | |||
2016-03-31 | [utils] Use update_Request in http_request | Sergey M․ | |
2016-03-31 | [utils] Add update_Request | Sergey M․ | |
2016-03-26 | [utils] Extract sanitize_url routine | Sergey M․ | |
2016-03-26 | [compat] Add compat_urllib_parse_urlencode and eliminate encode_dict | Sergey M․ | |
encode_dict functionality has been improved and moved directly into compat_urllib_parse_urlencode All occurrences of compat_urllib_parse.urlencode throughout the codebase have been replaced by compat_urllib_parse_urlencode Closes #8974 | |||
2016-03-24 | [utils] Clarify Python versions affected by buggy struct module | Yen Chi Hsuan | |
2016-03-23 | [utils] Encode hostnames before passing to urllib | Yen 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 string | Jaime Marquínez Ferrándiz | |
2016-03-18 | utils: lookup_unit_table: Use a stricter regex | Jaime Marquínez Ferrándiz | |
In parse_count multiple units start with the same letter, so it would match different units depending on the order they were sorted when iterating over them. | |||
2016-03-18 | [utils] Use compat_xpath | Sergey M․ | |
2016-03-16 | [utils] PEP 8 | Sergey M․ | |
2016-03-16 | Merge pull request #8092 from bpfoley/twitter-thumbnail | remitamine | |
[utils] Add extract_attributes for extracting html tag attributes | |||
2016-03-13 | [utils] PEP 8 | Sergey M․ | |
2016-03-13 | [bbc] Generalize unit table lookup and add parse_count | Sergey M․ | |
2016-03-11 | [utils] Remove codec2ext | Yen Chi Hsuan | |
This function is orignally used for determining file extensions of DASH formats. Now in DASH, ext is determined by mime_type. See #8766 for more information. | |||
2016-03-06 | [utils] Add more codecs to codec2ext | Yen Chi Hsuan | |
BBC uses avc3. Here's an example (thanks to @remitamine for this example) http://rdmedia.bbc.co.uk/dash/ondemand/bbb/2/client_manifest-common_init.mpd See also https://trac.ffmpeg.org/ticket/5217 | |||
2016-03-05 | [utils] Add codec2ext | Yen Chi Hsuan | |
2016-03-04 | [utils] update_url_query: Encode the strings in the query dict | Jaime Marquínez Ferrándiz | |
The test case with {'test': '第二行тест'} was failing on python 2 (the non-ascii characters were replaced with '?'). | |||
2016-03-03 | Merge pull request #8739 from remitamine/update_url_params | remitamine | |
[utils] add update_url_query function to create or update query string params | |||
2016-03-03 | [utils] add update_url_query function | remitamine | |
2016-03-03 | Merge branch 'jython-support' | Yen Chi Hsuan | |
Closes #8302 | |||
2016-03-03 | [utils] Jython support - handle filenames correctly | Yen Chi Hsuan | |
Now test:youtube downloads | |||
2016-03-03 | [utils] Add extract_attributes for extracting html tag attributes | Brian 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-03-02 | [utils] remove check for val from find_xpath_attr | remitamine | |
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-26 | [utils] Relaxing regex in decode_packed_codes for vidzi | Yen Chi Hsuan | |
2016-02-26 | [utils] Move codes for handling eval() from iqiyi.py | Yen Chi Hsuan | |
2016-02-26 | [utils] Merge base_n functions | Yen Chi Hsuan | |
2016-02-26 | [utils] Add base36 for use in Vidzi | Yen Chi Hsuan | |
2016-02-26 | [utils] Move base62 to utils | Yen Chi Hsuan | |
2016-02-25 | [utils] Remove AM/PM from unified_strdate patterns | Sergey M․ | |