Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [utils] Register SOCKS protocols in urllib and support SOCKS4A | Yen Chi Hsuan | 2016-05-10 | 1 | -1/+10 | |
| | ||||||
* | [socks] Support SOCKS proxies | Yen Chi Hsuan | 2016-05-10 | 1 | -2/+61 | |
| | ||||||
* | [utils,compat] Move struct_pack and struct_unpack to compat.py | Yen Chi Hsuan | 2016-05-10 | 1 | -19/+1 | |
| | ||||||
* | [utils] Allow empty attribute values in get_element_by_attribute (Closes #9415) | Sergey M․ | 2016-05-06 | 1 | -2/+2 | |
| | ||||||
* | improved performance by extracting accented chars to top level | Adam Thalhammer | 2016-05-03 | 1 | -5/+7 | |
| | ||||||
* | Instead of replacing accented characters with an underscore when sanitizing ↵ | Adam Thalhammer | 2016-05-02 | 1 | -2/+7 | |
| | | | | file names in restricted mode, replace them with their non-accented equivalents fixes #9347 | |||||
* | [utils] Allow None mimetypes in mimetype2ext | Sergey M․ | 2016-04-25 | 1 | -0/+3 | |
| | ||||||
* | Merge pull request #9110 from remitamine/parse_duration | Sergey M | 2016-04-21 | 1 | -36/+38 | |
|\ | | | | | [utils] imporove parse_duration to handle more formats | |||||
| * | [utils] imporove parse_duration to handle more formats | remitamine | 2016-04-21 | 1 | -36/+38 | |
| | | ||||||
* | | [utils] Don't touch URLs if not necessary | Yen Chi Hsuan | 2016-04-09 | 1 | -0/+2 | |
|/ | | | | Fix test_Generic_15 (Google redirect) | |||||
* | [utils] dfxp2srt: add additional namespace | Jaime Marquínez Ferrándiz | 2016-04-04 | 1 | -1/+2 | |
| | | | | Used by the ZDF subtitles (#9081). | |||||
* | [utils] Use update_Request in http_request | Sergey M․ | 2016-03-31 | 1 | -6/+1 | |
| | ||||||
* | [utils] Add update_Request | Sergey M․ | 2016-03-31 | 1 | -0/+14 | |
| | ||||||
* | [utils] Extract sanitize_url routine | Sergey M․ | 2016-03-26 | 1 | -2/+5 | |
| | ||||||
* | [compat] Add compat_urllib_parse_urlencode and eliminate encode_dict | Sergey M․ | 2016-03-26 | 1 | -10/+4 | |
| | | | | | | | 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 | |||||
* | [utils] Clarify Python versions affected by buggy struct module | Yen Chi Hsuan | 2016-03-24 | 1 | -1/+2 | |
| | ||||||
* | [utils] Encode hostnames before passing to urllib | Yen Chi Hsuan | 2016-03-23 | 1 | -0/+1 | |
| | | | | | | | 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 string | Jaime Marquínez Ferrándiz | 2016-03-19 | 1 | -1/+1 | |
| | ||||||
* | utils: lookup_unit_table: Use a stricter regex | Jaime Marquínez Ferrándiz | 2016-03-18 | 1 | -1/+1 | |
| | | | | 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. | |||||
* | [utils] Use compat_xpath | Sergey M․ | 2016-03-18 | 1 | -9/+3 | |
| | ||||||
* | [utils] PEP 8 | Sergey M․ | 2016-03-16 | 1 | -1/+4 | |
| | ||||||
* | Merge pull request #8092 from bpfoley/twitter-thumbnail | remitamine | 2016-03-16 | 1 | -0/+30 | |
|\ | | | | | [utils] Add extract_attributes for extracting html tag attributes | |||||
| * | [utils] Add extract_attributes for extracting html tag attributes | Brian Foley | 2016-03-03 | 1 | -0/+30 | |
| | | | | | | | | | | | | | | 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. | |||||
* | | [utils] PEP 8 | Sergey M․ | 2016-03-13 | 1 | -0/+1 | |
| | | ||||||
* | | [bbc] Generalize unit table lookup and add parse_count | Sergey M․ | 2016-03-13 | 1 | -7/+30 | |
| | | ||||||
* | | [utils] Remove codec2ext | Yen Chi Hsuan | 2016-03-11 | 1 | -16/+0 | |
| | | | | | | | | | | | | 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. | |||||
* | | [utils] Add more codecs to codec2ext | Yen Chi Hsuan | 2016-03-06 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | 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 | |||||
* | | [utils] Add codec2ext | Yen Chi Hsuan | 2016-03-05 | 1 | -0/+13 | |
| | | ||||||
* | | [utils] update_url_query: Encode the strings in the query dict | Jaime Marquínez Ferrándiz | 2016-03-04 | 1 | -0/+1 | |
| | | | | | | | | The test case with {'test': '第二行тест'} was failing on python 2 (the non-ascii characters were replaced with '?'). | |||||
* | | Merge pull request #8739 from remitamine/update_url_params | remitamine | 2016-03-03 | 1 | -0/+8 | |
|\ \ | | | | | | | [utils] add update_url_query function to create or update query string params | |||||
| * | | [utils] add update_url_query function | remitamine | 2016-03-03 | 1 | -0/+8 | |
| |/ | ||||||
* | | Merge branch 'jython-support' | Yen Chi Hsuan | 2016-03-03 | 1 | -5/+25 | |
|\ \ | |/ |/| | | | Closes #8302 | |||||
| * | [utils] Jython support - handle filenames correctly | Yen Chi Hsuan | 2016-03-03 | 1 | -0/+4 | |
| | | | | | | | | Now test:youtube downloads | |||||
| * | [utils] Jython support - disable setproctitle() until ctypes is complete | Yen Chi Hsuan | 2016-02-21 | 1 | -0/+6 | |
| | | ||||||
| * | [utils] Jython support: tolerate missing fcntl module | Yen Chi Hsuan | 2016-02-21 | 1 | -5/+15 | |
| | | ||||||
* | | [utils] remove check for val from find_xpath_attr | remitamine | 2016-03-02 | 1 | -2/+0 | |
| | | ||||||
* | | [utils] Multiple changes to base_n() | Yen Chi Hsuan | 2016-02-27 | 1 | -6/+8 | |
| | | | | | | | | | | | | | | | | 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 | |||||
* | | [utils] Relaxing regex in decode_packed_codes for vidzi | Yen Chi Hsuan | 2016-02-26 | 1 | -1/+1 | |
| | | ||||||
* | | [utils] Move codes for handling eval() from iqiyi.py | Yen Chi Hsuan | 2016-02-26 | 1 | -0/+20 | |
| | | ||||||
* | | [utils] Merge base_n functions | Yen Chi Hsuan | 2016-02-26 | 1 | -9/+7 | |
| | | ||||||
* | | [utils] Add base36 for use in Vidzi | Yen Chi Hsuan | 2016-02-26 | 1 | -0/+4 | |
| | | ||||||
* | | [utils] Move base62 to utils | Yen Chi Hsuan | 2016-02-26 | 1 | -0/+14 | |
| | | ||||||
* | | [utils] Remove AM/PM from unified_strdate patterns | Sergey M․ | 2016-02-25 | 1 | -3/+3 | |
| | | ||||||
* | | [utils] Implement cache for OnDemandPagedList | Yen Chi Hsuan | 2016-02-23 | 1 | -2/+11 | |
| | | ||||||
* | | add more subtitles mime types to mimetype2ext and fix the platform subtitle ↵ | remitamine | 2016-02-20 | 1 | -0/+4 | |
|/ | | | | extraction | |||||
* | [utils] mimetype2ext: return 'm4a' for 'audio/mp4' (fixes #8620) | Jaime Marquínez Ferrándiz | 2016-02-20 | 1 | -0/+6 | |
| | | | | The youtube extractor was using 'mp4' for them, therefore filters like 'bestaudio[ext=m4a]' stopped working (94278f720272c5ad2cd5900f59f8e71f31d46633 broke it). | |||||
* | [utils] Add OHDave's RSA encryption function | Yen Chi Hsuan | 2016-02-20 | 1 | -0/+18 | |
| | ||||||
* | [refactor] Single quotes consistency | Sergey M․ | 2016-02-14 | 1 | -8/+8 | |
| | ||||||
* | [refactor] Do not specify redundant None as second argument in dict.get() | Sergey M․ | 2016-02-14 | 1 | -1/+1 | |
| | ||||||
* | [utils] Bump Firefox version in User-Agent | Sergey M․ | 2016-02-11 | 1 | -1/+1 | |
| | | | | Old version number causes Youtube not to serve some formats in ytplayer.config |