aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Unify coding cookieDéstin Reed2016-10-031-1/+1
|
* [utils] Fix xattr error handlingYen Chi Hsuan2016-10-021-0/+1
|
* [utils] Support xattr as well as pyxattrYen Chi Hsuan2016-10-011-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | Closes #9054 There are two xattr packages in Python, pyxattr [1] and xattr [2]. They have different APIs. In old days pyxattr supports Linux only and xattr supports Linux, Mac, FreeBSD and Solaris, and pyxattr supports Linux only. Recently pyxattr adds support for Mac OS X. [3] An old version of [2] is shipped with Mac OS X. However, some Linux distributions have pyxattr only, for example PLD-Linux [4] and old Arch Linux. [5] As a result, supporting both is the way to go. [1] https://github.com/iustin/pyxattr [2] https://github.com/xattr/xattr [3] https://github.com/iustin/pyxattr/pull/9 [4] https://github.com/rg3/youtube-dl/issues/5498 [5] https://git.archlinux.org/svntogit/community.git/commit/?id=427c4c76401e386d865ccddea4fbfdc74df80492 https://git.archlinux.org/svntogit/community.git/commit/?id=59b40da7b69622a6761d364a8b07909e9cccaa56 python-xattr is added on 2016/06/29 while pyxattr is there for more than 6 years
* [utils] Lower priority for rare date formats and add testsSergey M․2016-09-291-2/+2
|
* [vk] Fix date and view count extraction.Kacper Michajłow2016-09-291-0/+2
|
* Move write_xattr to utils.pyYen Chi Hsuan2016-09-301-0/+99
| | | | | There are some other places that use xattr functions. It's better to move it to a common place so that others can use it.
* [utils] Use native french month namesSergey M․2016-09-141-2/+2
|
* [utils] Improve month_by_name and add testsSergey M․2016-09-141-8/+8
|
* [utils,franceinter] Add french months' names and fix extractionrenalid2016-09-141-2/+11
| | | | | | Update of the "FranceInter" radio extractor : webpages HTML structure had changed, the extractor didn't work. So I updated this extractor to get the mp3 URL and all details.
* [utils] Add quicktime to mimetype2extSergey M․2016-09-021-0/+1
|
* [utils] Improve mimetype2extSergey M․2016-09-021-1/+1
|
* [utils] add ac-3 to the list of audio codecs in parse_codecsRemita Amine2016-08-251-1/+1
|
* [utils] Recognize units with full names in parse_filenameYen Chi Hsuan2016-08-201-0/+17
| | | | Reference: https://en.wikipedia.org/wiki/Template:Quantities_of_bytes
* [utils] Correct octal/hexadecimal number detection in js_to_jsonYen Chi Hsuan2016-08-191-3/+3
|
* [utils] Recognize lowercase units in parse_filesizeSergey M․2016-08-181-0/+8
|
* [external/curl] respect more downloader options and display progressRemita Amine2016-08-121-0/+2
|
* [utils] Recognize more formats in unified_timestampYen Chi Hsuan2016-08-101-0/+1
| | | | Used in CtsNews
* [utils] Add support TV Parental Guidelines ratings in parse_age_limitSergey M․2016-08-071-2/+18
|
* [utils] Add decode_png for openload (#9706)Yen Chi Hsuan2016-08-071-0/+108
|
* [utils] Fix unified_timestamp for formats parsed by parsedate_tz()Yen Chi Hsuan2016-08-051-3/+3
|
* [utils] Add another f4m mimetype to mimetype2extSergey M․2016-07-231-0/+1
|
* [brightcove] skip ism manifestsRemita Amine2016-07-141-0/+1
|
* Merge pull request #8876 from remitamine/html5_mediaYen Chi Hsuan2016-07-101-0/+36
|\ | | | | [extractor/common] add helper method to extract html5 media entries
| * [utils] add helper function for parsing codecsremitamine2016-06-261-0/+36
| |
* | [utils] Add get_element_by_classYen Chi Hsuan2016-07-061-2/+10
| | | | | | | | For #9950
* | [utils] add mimetypes to determine manifest ext(m3u8, f4m, mpd)Remita Amine2016-07-061-0/+7
| |
* | [kaltura] add support videos stored on custom kaltura servers(closes #5557)Remita Amine2016-07-041-0/+2
| |
* | [utils] Add PUTRequestSergey M․2016-07-031-3/+12
| |
* | [HRTi] Implement extractor for Croatian RadiotelevisionAleksandar Topuzovic2016-07-031-0/+2
| |
* | [utils] Add urshift()Yen Chi Hsuan2016-06-261-0/+4
| | | | | | | | Used in IqiyiIE and LeIE
* | [utils] Add strip_or_noneSergey M․2016-06-251-0/+4
| |
* | [utils] Add unified_timestampSergey M․2016-06-251-58/+92
|/
* [downloader/hls] Add support for AES-128 encrypted segments in hlsnative ↵remitamine2016-06-191-0/+9
| | | | downloader
* [utils] Don't transform numbers not starting with a zeroYen Chi Hsuan2016-06-161-1/+1
| | | | Fix test_Viidea and maybe others
* [utils] Add try_getSergey M․2016-06-121-0/+10
| | | | To reduce boilerplate when accessing JSON
* [utils] Change Firefox 44 to 47Paul Henning2016-06-111-1/+1
| | | See commit title.
* [utils] Decode HTML5 entitiesYen Chi Hsuan2016-06-101-2/+10
| | | | Used in test_Vporn_1. Also related to #9270
* [utils] Add audio/mpeg to mimetype2ext()Yen Chi Hsuan2016-06-091-0/+3
| | | | Used in WDR live radios (#6147)
* Added sanitization support for Hungarian letters Ő and Űbzc6p2016-06-021-3/+3
|
* [utils] Use bytes-like objects as header values on Python 2Yen Chi Hsuan2016-06-021-0/+2
|
* [utils] Always decode Location headerYen Chi Hsuan2016-06-021-0/+2
| | | | escape_url is broken for bytes-like objects
* [utils] Remove debugging codesYen Chi Hsuan2016-05-261-2/+0
|
* [utils] Support a new form of dateYen Chi Hsuan2016-05-261-1/+4
| | | | Found in dw.com (#9475)
* [utils] Do not fail on unknown date formats in unified_strdateSergey M․2016-05-221-1/+4
|
* [utils] Allow None in remove_{start,end}Sergey M․2016-05-191-6/+2
|
* [utils] Check for None values in SOCKS proxyYen Chi Hsuan2016-05-171-2/+7
| | | | | Originally reported at https://github.com/rg3/youtube-dl/pull/9287#issuecomment-219617864
* [utils] Fix getheader in urlhandle_detect_extYen Chi Hsuan2016-05-151-5/+1
| | | | Fixes #7049, related to #9440
* [utils] Simplify integer conversion in js_to_jsonSergey M․2016-05-141-3/+3
|
* [utils] Process non-base 10 integers in js_to_jsonSergey M․2016-05-141-0/+12
|
* [utils] js_to_json: various improvementsfelix2016-05-141-14/+16
| | | | now JS object literals like { /* " */ 0: ",]\xaa<\/p>", } will be correctly converted to JSON.