aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
AgeCommit message (Collapse)Author
2016-06-19[downloader/hls] Add support for AES-128 encrypted segments in hlsnative ↵remitamine
downloader
2016-06-16[utils] Don't transform numbers not starting with a zeroYen Chi Hsuan
Fix test_Viidea and maybe others
2016-06-12[utils] Add try_getSergey M․
To reduce boilerplate when accessing JSON
2016-06-11[utils] Change Firefox 44 to 47Paul Henning
See commit title.
2016-06-10[utils] Decode HTML5 entitiesYen Chi Hsuan
Used in test_Vporn_1. Also related to #9270
2016-06-09[utils] Add audio/mpeg to mimetype2ext()Yen Chi Hsuan
Used in WDR live radios (#6147)
2016-06-02Added sanitization support for Hungarian letters Ő and Űbzc6p
2016-06-02[utils] Use bytes-like objects as header values on Python 2Yen Chi Hsuan
2016-06-02[utils] Always decode Location headerYen Chi Hsuan
escape_url is broken for bytes-like objects
2016-05-26[utils] Remove debugging codesYen Chi Hsuan
2016-05-26[utils] Support a new form of dateYen Chi Hsuan
Found in dw.com (#9475)
2016-05-22[utils] Do not fail on unknown date formats in unified_strdateSergey M․
2016-05-19[utils] Allow None in remove_{start,end}Sergey M․
2016-05-17[utils] Check for None values in SOCKS proxyYen Chi Hsuan
Originally reported at https://github.com/rg3/youtube-dl/pull/9287#issuecomment-219617864
2016-05-15[utils] Fix getheader in urlhandle_detect_extYen Chi Hsuan
Fixes #7049, related to #9440
2016-05-14[utils] Simplify integer conversion in js_to_jsonSergey 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-13[utils] Unquote crendentials passed to SOCKS proxiesYen Chi Hsuan
Fixes #9450
2016-05-12[utils] Add Œ and œ found in French to ACCENT_CHARSYen Chi Hsuan
Fixes #9463
2016-05-10[compat] Rename shlex_quote and remove unused subprocess_check_outputYen Chi Hsuan
2016-05-10[compat] Rename struct_(un)pack to compat_struct_(un)packYen Chi Hsuan
2016-05-10[utils] Add rationale for register_socks_protocolsYen Chi Hsuan
2016-05-10[utils] Register SOCKS protocols in urllib and support SOCKS4AYen Chi Hsuan
2016-05-10[socks] Support SOCKS proxiesYen Chi Hsuan
2016-05-10[utils,compat] Move struct_pack and struct_unpack to compat.pyYen Chi Hsuan
2016-05-06[utils] Allow empty attribute values in get_element_by_attribute (Closes #9415)Sergey M․
2016-05-03improved performance by extracting accented chars to top levelAdam Thalhammer
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-25[utils] Allow None mimetypes in mimetype2extSergey M․
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[utils] Don't touch URLs if not necessaryYen Chi Hsuan
Fix test_Generic_15 (Google redirect)
2016-04-04[utils] dfxp2srt: add additional namespaceJaime Marquínez Ferrándiz
Used by the ZDF subtitles (#9081).
2016-03-31[utils] Use update_Request in http_requestSergey M․
2016-03-31[utils] Add update_RequestSergey M․
2016-03-26[utils] Extract sanitize_url routineSergey M․
2016-03-26[compat] Add compat_urllib_parse_urlencode and eliminate encode_dictSergey 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 moduleYen 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-18utils: lookup_unit_table: Use a stricter regexJaime 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_xpathSergey 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[utils] PEP 8Sergey M․
2016-03-13[bbc] Generalize unit table lookup and add parse_countSergey M․
2016-03-11[utils] Remove codec2extYen 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 codec2extYen 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 codec2extYen Chi Hsuan