aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
AgeCommit message (Collapse)Author
2015-08-07[YoutubeDL] Remove unused importsSergey M․
2015-08-06[YoutubeDL:utils] Move percent encode non-ASCII URLs workaround to ↵Sergey M․
http_request and simplify (Closes #6457)
2015-08-04[YoutubeDL] format spec: correctly handle dashes and other unused operatorsJaime Marquínez Ferrándiz
'mp4-baseline-16x9' must be handled as a single string, but the '-' was treated as an operator.
2015-08-03YoutubeDL: format spec: don't accept a bare '/' (#6124)Jaime Marquínez Ferrándiz
2015-08-03Merge remote-tracking branch 'jaimemf/format_spec_groups' (closes #6124)Jaime Marquínez Ferrándiz
2015-07-20[YoutubeDL] don't default to 'bestvideo+bestaudio/best' for live videosJaime Marquínez Ferrándiz
Doesn't work currently.
2015-07-11Revert xvid to avi and make docs to be similar to existing external ↵Sergey M․
downloader option
2015-07-11Merge branch 'master' of https://github.com/aurium/youtube-dl into aurium-masterSergey M․
2015-07-10[YoutubeDL] format spec: add additional checks for invalid syntaxJaime Marquínez Ferrándiz
2015-07-04[YoutubeDL] format spec: Do not fail when a filter gives an empty resultJaime Marquínez Ferrándiz
For example with 'best[height<40]' we ended getting a 'IndexError: list index out of range'.
2015-07-04[YoutubeDL] format spec: fix handling of '/' with ','Jaime Marquínez Ferrándiz
When using 'bestvideo/best,bestaudio', 'bestvideo/best' must be set as the current_selector (instead of appending it to the selectors), otherwise when it gets the ',' it would append 'None' to the selectors.
2015-06-30Rename --pp-params to --postprocessor-args and access value as super class ↵Aurélio A. Heckert
attribute
2015-06-30[YoutubeDL] format spec: Fix handling of '+' with '/'Jaime Marquínez Ferrándiz
'bestvideo+bestaudio/best' was incorrectly interpreted as 'bestvideo+(bestaudio/best)', so it would fail if 'bestaudio' doesn't exist instead of falling back to 'best'.
2015-06-29[YoutubeDL] format spec: allow grouping specifiers with parenthesesJaime Marquínez Ferrándiz
2015-06-28[YoutubeDL] format spec: treat 'all' like a normal specifierJaime Marquínez Ferrándiz
So you can use filters with it, for example 'all[width>=400][width<=600]'.
2015-06-28[YoutubeDL] rework how the format spec is processedJaime Marquínez Ferrándiz
The spec string is processed using 'tokenize.tokenize' to split it in words and operators, the filters are still processed using regular expressions. This should make easier to allow grouping operators with parens.
2015-06-28[YoutubeDL] Handle None width and height similarly to formatsSergey M․
2015-06-24Merge pull request #5961 from dstftw/force-generic-extractorSergey M.
Add --force-generic-extractor
2015-06-16Use shlex.split for --pp-params and update related docs.Aurélio A. Heckert
2015-06-16[YoutubeDL] Youku extractor now uses the standard format selectionYen Chi Hsuan
2015-06-14spelling mistake correctedShrimadhav U K
acces changed to accessing
2015-06-13[YoutubeDL] Remove force_generic_extractor arg from process_ie_resultSergey M․
2015-06-13[YoutubeDL] Remove global state for force_generic_extractor flag in favor of ↵Sergey M․
passing argument
2015-06-12[YoutubeDL] Fix for multiple URLsSergey M․
2015-06-12Add `--force-generic-extractor`Sergey M․
For some extractors that are hard to workout a good _VALID_URL we use very vague and unrestrictive ones, e.g. just allowing anything after hostname and capturing part of URL as id. If some of these extractors happen to have an video embed of some different hoster or platform and this scenario was not handled in extractor itself we end up with inability to download this embed until extractor is fixed to support embed of this kind. Forcing downloader to use the generic extractor can be a neat temporary solution for this problem. Example: FiveTV extractor with Tvigle embed - http://www.5-tv.ru/rabota/broadcasts/48/
2015-06-08[YoutubeDL] Handle out-of-range timestamps (#5826)Sergey M․
2015-05-31[YoutubeDL] Tweak select_format for video only mediaSergey M․
2015-05-30[YoutubeDL] Do not loose request method informationSergey M․
2015-05-30[YoutubeDL] Make sure all formats have unique format_idSergey M․
2015-05-24[YoutubeDL] Initialize `files_to_delete` (Closes #5797)Sergey M․
2015-05-17[YoutubeDL] Clarify incompatible formats merge messageSergey M․
When `-f` is not specified it's misleading to see `You have requested ...` as user did not actually request any formats.
2015-05-15YoutubeDL: ignore indexes from 'playlist_items' that are not in the list ↵Jaime Marquínez Ferrándiz
(fixes #5706) We ignore them instead of failing to match the behaviour of the 'playliststart' parameter.
2015-05-14[YoutubeDL] Restore filename for thumbnailsSergey M․
2015-05-14Merge branch 'best-fallback-on-outdated-avconv' of ↵Sergey M․
https://github.com/dstftw/youtube-dl into dstftw-best-fallback-on-outdated-avconv Conflicts: youtube_dl/YoutubeDL.py
2015-05-14[postprocessor/embedthumbnail] Use thumbnails downloaded by YoutubeDLYen Chi Hsuan
2015-05-13[YoutubeDL] Fix PEP8 W503Yen Chi Hsuan
2015-05-11[YoutubeDL] Check if merger can actually mergeSergey M․
2015-05-11[YoutubeDL] Fallback to `-f best` when merger is outdatedSergey M․
2015-05-10ExecAfterDownloadPP, YoutubeDL: remove unused parametersJaime Marquínez Ferrándiz
2015-05-07[YoutubeDL] Do not force bestvideo+bestaudio when outtmpl is stdout (#5627)Sergey M․
2015-05-02[YoutubeDL] Improve description file namingSergey M․
2015-05-02[YoutubeDL] Improve annotations file namingSergey M․
2015-05-02[YoutubeDL] Improve JSON info file namingSergey M․
2015-05-02[YoutubeDL] Improve audio/video-only file namingSergey M․
2015-05-02[YoutubeDL] Ensure correct extension is always present for a merged file ↵Sergey M․
(Closes #5535)
2015-05-01[YoutubeDL] Filter requested info fields on `--load-info` as wellSergey M․
In order to properly handle JSON info files generated by youtube-dl versions prior to 4070b458ece46a29dad9be2312a7daa48bb2f1d7
2015-04-30[YoutubeDL] pep8: use 'k not in' instead of 'not k in'Jaime Marquínez Ferrándiz
2015-04-30[YoutubeDL] Do not write requested info in info JSON file (Closes #5562, ↵Sergey M․
closes #5564)
2015-04-30[YoutubeDL] Generalize best/worst format match behaviorSergey M․
2015-04-29Make 'best' format only match non-DASH formats (closes #5554)Jaime Marquínez Ferrándiz
Otherwise it's impossible to only download non-DASH formats, for example `best[height=?480]/best` would download a DASH video if it's the only one with height=480, instead for falling back to the second format specifier. For audio only urls (soundcloud, bandcamp ...), the best audio will be downloaded as before.