summaryrefslogtreecommitdiffstats
path: root/youtube_dl/YoutubeDL.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge remote-tracking branch 'jaimemf/format_spec_groups' (closes #6124)Jaime Marquínez Ferrándiz2015-08-031-116/+235
|\
| * [YoutubeDL] format spec: add additional checks for invalid syntaxJaime Marquínez Ferrándiz2015-07-101-0/+4
| |
| * [YoutubeDL] format spec: Do not fail when a filter gives an empty resultJaime Marquínez Ferrándiz2015-07-041-0/+3
| | | | | | | | For example with 'best[height<40]' we ended getting a 'IndexError: list index out of range'.
| * [YoutubeDL] format spec: fix handling of '/' with ','Jaime Marquínez Ferrándiz2015-07-041-2/+1
| | | | | | | | 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.
| * [YoutubeDL] format spec: Fix handling of '+' with '/'Jaime Marquínez Ferrándiz2015-06-301-10/+15
| | | | | | | | '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'.
| * [YoutubeDL] format spec: allow grouping specifiers with parenthesesJaime Marquínez Ferrándiz2015-06-291-2/+37
| |
| * [YoutubeDL] format spec: treat 'all' like a normal specifierJaime Marquínez Ferrándiz2015-06-281-7/+6
| | | | | | | | So you can use filters with it, for example 'all[width>=400][width<=600]'.
| * [YoutubeDL] rework how the format spec is processedJaime Marquínez Ferrándiz2015-06-281-112/+186
| | | | | | | | | | 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.
* | [YoutubeDL] don't default to 'bestvideo+bestaudio/best' for live videosJaime Marquínez Ferrándiz2015-07-201-1/+2
| | | | | | | | Doesn't work currently.
* | Revert xvid to avi and make docs to be similar to existing external ↵Sergey M․2015-07-111-1/+2
| | | | | | | | downloader option
* | Merge branch 'master' of https://github.com/aurium/youtube-dl into aurium-masterSergey M․2015-07-111-0/+1
|\ \
| * | Rename --pp-params to --postprocessor-args and access value as super class ↵Aurélio A. Heckert2015-06-301-1/+1
| | | | | | | | | | | | attribute
| * | Use shlex.split for --pp-params and update related docs.Aurélio A. Heckert2015-06-161-0/+1
| | |
* | | [YoutubeDL] Handle None width and height similarly to formatsSergey M․2015-06-281-1/+1
| |/ |/|
* | Merge pull request #5961 from dstftw/force-generic-extractorSergey M.2015-06-241-2/+7
|\ \ | | | | | | Add --force-generic-extractor
| * | [YoutubeDL] Remove force_generic_extractor arg from process_ie_resultSergey M․2015-06-131-4/+3
| | |
| * | [YoutubeDL] Remove global state for force_generic_extractor flag in favor of ↵Sergey M․2015-06-131-8/+8
| | | | | | | | | | | | passing argument
| * | [YoutubeDL] Fix for multiple URLsSergey M․2015-06-121-1/+1
| | |
| * | Add `--force-generic-extractor`Sergey M․2015-06-121-0/+6
| |/ | | | | | | | | | | | | | | | | | | 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/
* | [YoutubeDL] Youku extractor now uses the standard format selectionYen Chi Hsuan2015-06-161-6/+0
| |
* | spelling mistake correctedShrimadhav U K2015-06-141-1/+1
|/ | | acces changed to accessing
* [YoutubeDL] Handle out-of-range timestamps (#5826)Sergey M․2015-06-081-7/+7
|
* [YoutubeDL] Tweak select_format for video only mediaSergey M․2015-05-311-2/+3
|
* [YoutubeDL] Do not loose request method informationSergey M․2015-05-301-1/+3
|
* [YoutubeDL] Make sure all formats have unique format_idSergey M․2015-05-301-0/+14
|
* [YoutubeDL] Initialize `files_to_delete` (Closes #5797)Sergey M․2015-05-241-0/+1
|
* [YoutubeDL] Clarify incompatible formats merge messageSergey M․2015-05-171-3/+3
| | | | When `-f` is not specified it's misleading to see `You have requested ...` as user did not actually request any formats.
* YoutubeDL: ignore indexes from 'playlist_items' that are not in the list ↵Jaime Marquínez Ferrándiz2015-05-151-1/+3
| | | | | | (fixes #5706) We ignore them instead of failing to match the behaviour of the 'playliststart' parameter.
* [YoutubeDL] Restore filename for thumbnailsSergey M․2015-05-141-1/+1
|
* Merge branch 'best-fallback-on-outdated-avconv' of ↵Sergey M․2015-05-141-4/+5
|\ | | | | | | | | | | | | https://github.com/dstftw/youtube-dl into dstftw-best-fallback-on-outdated-avconv Conflicts: youtube_dl/YoutubeDL.py
| * [YoutubeDL] Check if merger can actually mergeSergey M․2015-05-111-1/+1
| |
| * [YoutubeDL] Fallback to `-f best` when merger is outdatedSergey M․2015-05-111-3/+4
| |
* | [postprocessor/embedthumbnail] Use thumbnails downloaded by YoutubeDLYen Chi Hsuan2015-05-141-1/+1
| |
* | [YoutubeDL] Fix PEP8 W503Yen Chi Hsuan2015-05-131-3/+3
|/
* ExecAfterDownloadPP, YoutubeDL: remove unused parametersJaime Marquínez Ferrándiz2015-05-101-1/+0
|
* [YoutubeDL] Do not force bestvideo+bestaudio when outtmpl is stdout (#5627)Sergey M․2015-05-071-1/+3
|
* [YoutubeDL] Improve description file namingSergey M․2015-05-021-1/+1
|
* [YoutubeDL] Improve annotations file namingSergey M․2015-05-021-1/+1
|
* [YoutubeDL] Improve JSON info file namingSergey M․2015-05-021-1/+2
|
* [YoutubeDL] Improve audio/video-only file namingSergey M․2015-05-021-1/+1
|
* [YoutubeDL] Ensure correct extension is always present for a merged file ↵Sergey M․2015-05-021-1/+8
| | | | (Closes #5535)
* [YoutubeDL] Filter requested info fields on `--load-info` as wellSergey M․2015-05-011-5/+8
| | | | In order to properly handle JSON info files generated by youtube-dl versions prior to 4070b458ece46a29dad9be2312a7daa48bb2f1d7
* [YoutubeDL] pep8: use 'k not in' instead of 'not k in'Jaime Marquínez Ferrándiz2015-04-301-1/+1
|
* [YoutubeDL] Do not write requested info in info JSON file (Closes #5562, ↵Sergey M․2015-04-301-1/+4
| | | | closes #5564)
* [YoutubeDL] Generalize best/worst format match behaviorSergey M․2015-04-301-11/+5
|
* Make 'best' format only match non-DASH formats (closes #5554)Jaime Marquínez Ferrándiz2015-04-291-1/+8
| | | | | 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.
* Typo "incompatible" instead of "uncompatible"zouhair2015-04-291-1/+1
|
* Remove the --max-quality optionJaime Marquínez Ferrándiz2015-04-251-8/+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.
* [YoutubeDL] Remove the redundant assignment to old_filenameYen Chi Hsuan2015-04-221-1/+0
| | | | Caused by commmit 592e97e8550389e22b716eb33c30584aa3a8d656
* [YoutubeDL] mp3 is compatible with mp4Sergey M․2015-04-201-1/+1
|