summaryrefslogtreecommitdiffstats
path: root/youtube_dl/utils.py
Commit message (Collapse)AuthorAgeFilesLines
...
* [letv] Fix extractionYen Chi Hsuan2015-10-181-0/+5
| | | | | Using data URIs for passing the decrypted M3U8 manifest, which is supported by ffmpeg only.
* [utils] Return default on fail in int_or_noneSergey M․2015-10-141-1/+1
|
* [utils] Do not fail in float_or_none on non-numeric dataSergey M․2015-10-141-1/+6
|
* [utils] Do not fail in int_or_none on non-numeric data (Closes #7175)Sergey M․2015-10-141-1/+6
|
* [utils] Fix kwargs on old python 2 (Closes #6905)Sergey M․2015-09-201-1/+1
|
* [utils] Comment cookie processing until result from travis and some more testingSergey M․2015-09-061-8/+8
|
* [utils] Simplify cookie processorSergey M․2015-09-061-3/+1
|
* [utils] Add encode_dictSergey M․2015-09-061-0/+4
|
* [utils] Add issue URL in comment for #6457Sergey M․2015-09-061-1/+2
|
* [utils] Add cookie processor for cookie correction (Closes #6769)Sergey M․2015-09-061-0/+26
|
* [utils] Generalize cli option convertersSergey M․2015-09-051-0/+26
|
* [utils] Improve xpath_textSergey M․2015-09-051-2/+13
|
* [utils] Relax attribute key assertSergey M․2015-09-041-1/+1
|
* [utils] Add xpath_element and xpath_attrSergey M․2015-09-041-2/+19
|
* [utils] Strict HTTP responses (Closes #6727)Sergey M․2015-09-021-0/+5
|
* [utils] Percent-encode redirect URL of Location header (Closes #6457)Sergey M․2015-08-071-0/+11
|
* [YoutubeDL:utils] Move percent encode non-ASCII URLs workaround to ↵Sergey M․2015-08-061-0/+20
| | | | http_request and simplify (Closes #6457)
* [utils] Make value optional for find_xpath_attrSergey M․2015-08-011-5/+8
| | | | This allows selecting particular attributes by name but without specifying the value and similar to xpath syntax `[@attrib]`
* Remove redundant (and wrong) class parametersRaphael Michel2015-07-261-3/+1
|
* [utils] Improve parse_durationYen Chi Hsuan2015-07-221-2/+2
| | | | Now dots are parsed. For example '87 Min.'
* [utils] Add default value for xpath_textSergey M․2015-06-281-2/+6
|
* [utils] Add ISO3166UtilsYen Chi Hsuan2015-06-271-0/+260
|
* [utils] Support ttaf1 namespace in TTMLYen Chi Hsuan2015-06-211-4/+7
| | | | It's found in bbc.co.uk. See #6038
* [utils/ffmpeg] Move ISO 639 related codes to utilsYen Chi Hsuan2015-06-211-0/+202
|
* [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
| |