aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
AgeCommit message (Collapse)Author
2015-08-01[utils] Make value optional for find_xpath_attrSergey M․
This allows selecting particular attributes by name but without specifying the value and similar to xpath syntax `[@attrib]`
2015-07-26Remove redundant (and wrong) class parametersRaphael Michel
2015-07-22[utils] Improve parse_durationYen Chi Hsuan
Now dots are parsed. For example '87 Min.'
2015-06-28[utils] Add default value for xpath_textSergey M․
2015-06-27[utils] Add ISO3166UtilsYen Chi Hsuan
2015-06-21[utils] Support ttaf1 namespace in TTMLYen Chi Hsuan
It's found in bbc.co.uk. See #6038
2015-06-21[utils/ffmpeg] Move ISO 639 related codes to utilsYen Chi Hsuan
2015-05-19[yahoo] Add support for closed captions (closes #5714)Yen Chi Hsuan
2015-05-19[utils] Support TTML without default namespaceYen Chi Hsuan
In a strict sense such TTML is invalid, but Yahoo uses it.
2015-05-12[utils,common] Merge format_srt_time and _subtitles_timecodeYen Chi Hsuan
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
2015-05-12[utils] Support 'dur' field in TTMLYen Chi Hsuan
2015-05-09[utils] Remove sanitize_url_path_consecutive_slashes()Yen Chi Hsuan
This function is used only in SohuIE, which is updated to use a new extraction logic.
2015-05-08[utils] get_exe_version: encode executable name (fixes #5647)Jaime Marquínez Ferrándiz
It failed in python 2.x when $PATH contains a directory with non-ascii characters.
2015-05-04[NBC] Enhance embedURL extraction (closes #2549)Yen Chi Hsuan
2015-05-02[utils] Add replace_extensionSergey M․
2015-05-02[utils] Improve prepend_extensionSergey M․
Now `ext` is appended to filename if real extension != expected extension.
2015-04-27[utils] Fix another old python 2.6 kwargs issue (Closes #5539)Sergey M․
2015-04-27Merge pull request #5523 from jaimeMF/remove-format-limitSergey M.
Remove the --max-quality option
2015-04-26[utils] Add `get_subprocess_encoding` and filename/argument decode counterpartsSergey M․
2015-04-25[ffmpeg] Add dfxp (TTML) subtitles support (#3432, #5146)Yen Chi Hsuan
2015-04-25Remove the --max-quality optionJaime Marquínez Ferrándiz
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.
2015-04-17InfoExtractor._search_regex: Suggest updating when the regex is not found ↵Jaime Marquínez Ferrándiz
(suggested in #5442) Reuse the same message from ExtractorError
2015-04-16[utils] Fix splitunc deprecation warningSergey M․
2015-04-08[utils] Remove url_infer_protocolYen Chi Hsuan
2015-04-08[udn] Add new extractorYen Chi Hsuan
2015-04-04[utils] Avoid treating `*-%Y` date template as UTC offsetSergey M․
2015-04-04[utils] Add one more template to unified_strdateSergey M․
2015-04-04[utils] Drop trailing comma before closing braceSergey M․
2015-03-27Don't use bare 'except:'Jaime Marquínez Ferrándiz
They catch any exception, including KeyboardInterrupt, we don't want to catch it.
2015-03-26[utils] Escape all HTML entities written in hexadecimal formNaglis Jonaitis
2015-03-17[utils] Place sanitize url function near other sanitizing functionsSergey M․
2015-03-17Merge branch 'sohu_fix' of https://github.com/yan12125/youtube-dl into ↵Sergey M․
yan12125-sohu_fix
2015-03-10[utils] Keep dot and dotdot unmodified (Closes #5171)Sergey M․
2015-03-08[utils] Disallow trailing dot in sanitize_path for a path partSergey M․
2015-03-08[utils] Fix sanitize_openSergey M․
2015-03-08[utils] Add sanitize_pathSergey M․
2015-03-06[utils] Add a function to sanitize consecutive slashes in URLsYen Chi Hsuan
2015-03-03[utils] Correct per-request proxy handlingPhilipp Hagemeister
2015-03-03[letv] Add --cn-verification-proxy (Closes #5077)Philipp Hagemeister
2015-03-02[utils] Streap leading dotsPhilipp Hagemeister
Fixes #2865, closes #5087
2015-02-28Use shutil.get_terminal_size for getting the terminal width if it's ↵Jaime Marquínez Ferrándiz
available (python >= 3.3)
2015-02-26[airmozilla] Be more tolerant when nonessential items are missing (#5030)Philipp Hagemeister
2015-02-26[utils] Bump our user agentPhilipp Hagemeister
2015-02-24[utils] Prevent hyphen at beginning of filename (Fixes #5035)Philipp Hagemeister
2015-02-21PEP8: W503Philipp Hagemeister
2015-02-19[sandia] Add new extractor (#4974)Philipp Hagemeister
2015-02-18[utils] Fix js_to_jsonPhilipp Hagemeister
Previously, the runtime could be atrocious for longer inputs.
2015-02-13[Yam] Add new extractorYen Chi Hsuan
2015-02-12[camdemy] Simplify and make more robust (#4938)Philipp Hagemeister
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.
2015-02-10[YoutubeDL] Add generic video filtering (Fixes #4916)Philipp Hagemeister
This functionality is intended to eventually encompass the current format filtering.