aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/utils.py
Commit message (Collapse)AuthorAgeFilesLines
...
* [yahoo] Add support for closed captions (closes #5714)Yen Chi Hsuan2015-05-191-0/+1
|
* [utils] Support TTML without default namespaceYen Chi Hsuan2015-05-191-3/+6
| | | | In a strict sense such TTML is invalid, but Yahoo uses it.
* [utils,common] Merge format_srt_time and _subtitles_timecodeYen Chi Hsuan2015-05-121-8/+4
| | | | | | | | format_srt_time uses a comma as the delimiter between seconds and milliseconds while _subtitles_timecode uses a dot. All .srt examples I found on the Internet uses a comma, so I use a comma in the merged version. See http://matroska.org/technical/specs/subtitles/srt.html and http://devel.aegisub.org/wiki/SubtitleFormats/SRT
* [utils] Support 'dur' field in TTMLYen Chi Hsuan2015-05-121-2/+6
|
* [utils] Remove sanitize_url_path_consecutive_slashes()Yen Chi Hsuan2015-05-091-7/+0
| | | | | This function is used only in SohuIE, which is updated to use a new extraction logic.
* [utils] get_exe_version: encode executable name (fixes #5647)Jaime Marquínez Ferrándiz2015-05-081-1/+1
| | | | It failed in python 2.x when $PATH contains a directory with non-ascii characters.
* [NBC] Enhance embedURL extraction (closes #2549)Yen Chi Hsuan2015-05-041-0/+8
|
* [utils] Add replace_extensionSergey M․2015-05-021-0/+7
|
* [utils] Improve prepend_extensionSergey M․2015-05-021-2/+5
| | | | Now `ext` is appended to filename if real extension != expected extension.
* [utils] Fix another old python 2.6 kwargs issue (Closes #5539)Sergey M․2015-04-271-1/+2
|
* Merge pull request #5523 from jaimeMF/remove-format-limitSergey M.2015-04-271-9/+0
|\ | | | | Remove the --max-quality option
| * Remove the --max-quality optionJaime Marquínez Ferrándiz2015-04-251-9/+0
| | | | | | | | | | It doesn't work well with 'bestvideo' and 'bestaudio' because they are usually before the max quality. Format filters should be used instead, they are more flexible and don't require the requested quality to exist for each video.
* | [utils] Add `get_subprocess_encoding` and filename/argument decode counterpartsSergey M․2015-04-261-15/+34
| |
* | [ffmpeg] Add dfxp (TTML) subtitles support (#3432, #5146)Yen Chi Hsuan2015-04-251-0/+53
|/
* InfoExtractor._search_regex: Suggest updating when the regex is not found ↵Jaime Marquínez Ferrándiz2015-04-171-7/+12
| | | | | | (suggested in #5442) Reuse the same message from ExtractorError
* [utils] Fix splitunc deprecation warningSergey M․2015-04-161-7/+7
|
* [utils] Remove url_infer_protocolYen Chi Hsuan2015-04-081-11/+0
|
* [udn] Add new extractorYen Chi Hsuan2015-04-081-0/+11
|
* [utils] Avoid treating `*-%Y` date template as UTC offsetSergey M․2015-04-041-1/+2
|
* [utils] Add one more template to unified_strdateSergey M․2015-04-041-0/+2
|
* [utils] Drop trailing comma before closing braceSergey M․2015-04-041-1/+1
|
* Don't use bare 'except:'Jaime Marquínez Ferrándiz2015-03-271-2/+2
| | | | They catch any exception, including KeyboardInterrupt, we don't want to catch it.
* [utils] Escape all HTML entities written in hexadecimal formNaglis Jonaitis2015-03-261-1/+1
|
* [utils] Place sanitize url function near other sanitizing functionsSergey M․2015-03-171-15/+7
|
* Merge branch 'sohu_fix' of https://github.com/yan12125/youtube-dl into ↵Sergey M․2015-03-171-0/+15
|\ | | | | | | yan12125-sohu_fix
| * [utils] Add a function to sanitize consecutive slashes in URLsYen Chi Hsuan2015-03-061-0/+15
| |
* | [utils] Keep dot and dotdot unmodified (Closes #5171)Sergey M․2015-03-101-1/+1
| |
* | [utils] Disallow trailing dot in sanitize_path for a path partSergey M․2015-03-081-1/+1
| |
* | [utils] Fix sanitize_openSergey M․2015-03-081-5/+2
| |
* | [utils] Add sanitize_pathSergey M․2015-03-081-0/+18
|/
* [utils] Correct per-request proxy handlingPhilipp Hagemeister2015-03-031-2/+13
|
* [letv] Add --cn-verification-proxy (Closes #5077)Philipp Hagemeister2015-03-031-0/+10
|
* [utils] Streap leading dotsPhilipp Hagemeister2015-03-021-0/+1
| | | | Fixes #2865, closes #5087
* Use shutil.get_terminal_size for getting the terminal width if it's ↵Jaime Marquínez Ferrándiz2015-02-281-17/+0
| | | | available (python >= 3.3)
* [airmozilla] Be more tolerant when nonessential items are missing (#5030)Philipp Hagemeister2015-02-261-0/+5
|
* [utils] Bump our user agentPhilipp Hagemeister2015-02-261-1/+1
|
* [utils] Prevent hyphen at beginning of filename (Fixes #5035)Philipp Hagemeister2015-02-241-0/+2
|
* PEP8: W503Philipp Hagemeister2015-02-211-2/+2
|
* [sandia] Add new extractor (#4974)Philipp Hagemeister2015-02-191-1/+10
|
* [utils] Fix js_to_jsonPhilipp Hagemeister2015-02-181-2/+2
| | | | Previously, the runtime could be atrocious for longer inputs.
* [Yam] Add new extractorYen Chi Hsuan2015-02-131-4/+16
|
* [camdemy] Simplify and make more robust (#4938)Philipp Hagemeister2015-02-121-13/+14
| | | | | | Do not throw errors if view count or upload date extraction fails. Dispose of re.MULTILINE, which had absolutely no effect without any ^ or $ in sight. Follow PEP8 naming conventions.
* [YoutubeDL] Add generic video filtering (Fixes #4916)Philipp Hagemeister2015-02-101-0/+77
| | | | This functionality is intended to eventually encompass the current format filtering.
* [wsj] Add new extractor (Fixes #4854)Philipp Hagemeister2015-02-031-1/+1
|
* [ntvde] Add new extractor (Fixes #4850)Philipp Hagemeister2015-02-021-2/+7
|
* Appease pyflakes8-3Philipp Hagemeister2015-02-011-3/+4
|
* [utils] YoutubeDLHTTPSHandler.https_open: pass all required arguments to do_openJaime Marquínez Ferrándiz2015-01-291-1/+6
| | | | With this change the '--no-check-certificate' works again (#4807).
* Add --list-thumbnailsPhilipp Hagemeister2015-01-251-0/+8
|
* [utils] YoutubeDLHandler: don't use 'Youtubedl-user-agent' for overriding ↵Jaime Marquínez Ferrándiz2015-01-241-5/+0
| | | | | | the default user agent Setting the 'User-Agent' header is enough
* [downloader] Improve downloader selectionPhilipp Hagemeister2015-01-231-0/+22
|