aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
AgeCommit message (Collapse)Author
2016-12-12[utils] Add common user agents mapSergey M․
2016-11-02[utils] Introduce base_urlSergey M․
2016-10-31[utils] Fix --match-filter for int-like strings (closes #11082)Sergey M․
2016-10-22[utils] Clarify for redirecting STDIN in get_exe_version()Yen Chi Hsuan
2016-10-22[get_exe_version] Do version probes with <&-John Hawkinson
When doing version probes for ffmpeg, do the equivalent of calling it as: ffmpeg -version <&- Where <&- is shell syntax for closing stdin before calling the program. This is roughly equivalent to </dev/null without actually opening /dev/null. This prevents ffmpeg -version from hanging when run in the background. Fixes #955. The reason is that ffmpeg tries to manipulate stdin to set up terminal characteristic, and that causes the kernel to suspend the parent process (youtube-dl). Note that closing stdin is achieved by calling subprocess.Popen() with stdin set to subprocess.PIPE and without passing any input to Popen.communicate(). This is somewhat subtle.
2016-10-19[utils] Expose PACKED_CODES_RESergey M․
2016-10-03Unify coding cookieDéstin Reed
2016-10-02[utils] Fix xattr error handlingYen Chi Hsuan
2016-10-01[utils] Support xattr as well as pyxattrYen Chi Hsuan
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
2016-09-29[utils] Lower priority for rare date formats and add testsSergey M․
2016-09-29[vk] Fix date and view count extraction.Kacper Michajłow
2016-09-30Move write_xattr to utils.pyYen Chi Hsuan
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.
2016-09-14[utils] Use native french month namesSergey M․
2016-09-14[utils] Improve month_by_name and add testsSergey M․
2016-09-14[utils,franceinter] Add french months' names and fix extractionrenalid
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.
2016-09-02[utils] Add quicktime to mimetype2extSergey M․
2016-09-02[utils] Improve mimetype2extSergey M․
2016-08-25[utils] add ac-3 to the list of audio codecs in parse_codecsRemita Amine
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-12[external/curl] respect more downloader options and display progressRemita Amine
2016-08-10[utils] Recognize more formats in unified_timestampYen Chi Hsuan
Used in CtsNews
2016-08-07[utils] Add support TV Parental Guidelines ratings in parse_age_limitSergey M․
2016-08-07[utils] Add decode_png for openload (#9706)Yen Chi Hsuan
2016-08-05[utils] Fix unified_timestamp for formats parsed by parsedate_tz()Yen Chi Hsuan
2016-07-23[utils] Add another f4m mimetype to mimetype2extSergey M․
2016-07-14[brightcove] skip ism manifestsRemita Amine
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-06[utils] add mimetypes to determine manifest ext(m3u8, f4m, mpd)Remita Amine
2016-07-04[kaltura] add support videos stored on custom kaltura servers(closes #5557)Remita Amine
2016-07-03[utils] Add PUTRequestSergey M․
2016-07-03[HRTi] Implement extractor for Croatian RadiotelevisionAleksandar Topuzovic
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 strip_or_noneSergey M․
2016-06-25[utils] Add unified_timestampSergey M․
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․