aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/YoutubeDL.py
Commit message (Collapse)AuthorAgeFilesLines
* [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
|
* [YoutubeDL] Allow bestvideo+bestaudio/best strategy for ted extractorSergey M․2015-04-201-1/+1
|
* [YoutubeDL] Respect explicit `--merge-format-output` for uncompatible ↵Sergey M․2015-04-191-2/+1
| | | | formats as well
* [YoutubeDL] Merge incompatible formats into mkv (#5456)Sergey M․2015-04-191-1/+23
|
* [YoutubeDL] Make `bestvideo+bestaudio/best` default format when merger is ↵Sergey M․2015-04-191-1/+5
| | | | available
* Detect already merged videosJaime Marquínez Ferrándiz2015-04-191-10/+15
| | | | | Without the '--keep-video' option the two files would be downloaded again and even using the option, ffmpeg would be run again, which for some videos can take a long time. We use a temporary file with ffmpeg so that the final file only exists if it success
* FFmpegMergerPP: use the new system for specifying which files can be deleteJaime Marquínez Ferrándiz2015-04-181-1/+1
|
* Postprocessors: use a list for the files that can be deletedJaime Marquínez Ferrándiz2015-04-181-6/+7
| | | | We could only know if we had to delete the original file, but this system allows to specify us more files (like subtitles).
* YoutubeDL.post_process: simplify keep_video handlingJaime Marquínez Ferrándiz2015-04-171-8/+1
| | | | Since keep_video started as None we always set it to keep_video_wish unless it was None, so in the end keep_video == keep_video_wish. This should have been changed in f3ff1a3696c4080468e2cc5810c34273b148bd3e, but I didn't notice it.
* [YoutubeDL] Try to download worst audio+video served by a single file first ↵Sergey M․2015-04-121-0/+5
| | | | (Closes #5408)
* Remove check for ssl certsJaime Marquínez Ferrándiz2015-04-061-8/+0
| | | | | When it uses a capath instead of a cafile, 'get_ca_certs' or 'cert_store_stats' only returns certificates already used in a connection. (see #5364)
* [YoutubeDL] Check for `get_ca_certs` availabilitySergey M․2015-04-021-1/+3
| | | | `get_ca_certs` is not available in python <3.4
* Print a warning if no ssl certificates are loadedJaime Marquínez Ferrándiz2015-04-021-0/+6
|
* 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.
* Remove the 'stitle' fieldJaime Marquínez Ferrándiz2015-03-211-6/+0
| | | | A warning has been printed for more than 2 years (since 97cd3afc7525394c46398f1526d412d081c02085)
* Fix mistyped docstring indentKang Hyojun2015-03-151-1/+1
|
* [YoutubeDL] Check for bytes instead of unicode output templates (#5192)Philipp Hagemeister2015-03-131-0/+5
| | | | Also adapt the embedding examples for those poor souls still using 2.x.
* Don't accept '-1' as format, 'all' is clearerJaime Marquínez Ferrándiz2015-03-111-2/+1
|
* [YoutubeDL] Sanitize path before creating non-existent paths (Closes #4324)Sergey M․2015-03-081-1/+1
|
* [YoutubeDL] Sanitize outtmpl as pathSergey M․2015-03-081-6/+3
|
* [YoutubeDL] Sanitize outtmpl as it may contain forbidden charactersSergey M․2015-03-081-2/+6
|
* [utils] Correct per-request proxy handlingPhilipp Hagemeister2015-03-031-1/+2
|
* [letv] Add --cn-verification-proxy (Closes #5077)Philipp Hagemeister2015-03-031-1/+4
|
* [downloader/external] Add support for custom options (Fixes #4885, closes #5098)Philipp Hagemeister2015-03-021-2/+2
|
* --load-info: Use the fileinput moduleJaime Marquínez Ferrándiz2015-03-011-2/+7
| | | | It automatically handles the '-' filename as stdin
* Use shutil.get_terminal_size for getting the terminal width if it's ↵Jaime Marquínez Ferrándiz2015-02-281-2/+2
| | | | available (python >= 3.3)
* [YoutubeDL] Use the InfoExtractor._download_webpage method for getting the ↵Jaime Marquínez Ferrándiz2015-02-281-4/+5
| | | | | | subtitles It handles encodings better, for example for 'http://www.npo.nl/nos-journaal/14-02-2015/POW_00942207'
* Merge branch 'subtitles-rework'Jaime Marquínez Ferrándiz2015-02-231-9/+85
|\ | | | | | | (Closes PR #4964)
| * [YoutubeDL] remove compatiblity with the old subtitles systemJaime Marquínez Ferrándiz2015-02-231-8/+0
| |
| * [YoutubeDL] only add normal subtitles to the 'requested_subtitles' field if ↵Jaime Marquínez Ferrándiz2015-02-221-4/+6
| | | | | | | | 'writesubtitles' is True
| * [YoutubeDL] don't set the 'requested_subtitles' without writesubtitles or ↵Jaime Marquínez Ferrándiz2015-02-221-2/+4
| | | | | | | | writeautomaticsub
| * [YoutubeDL] use the 'render_table' function for listing the subtitlesJaime Marquínez Ferrándiz2015-02-171-6/+5
| |
| * [youtube] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-161-7/+17
| | | | | | | | The automatic captions are stored in the 'automactic_captions' field, which is used if no normal subtitles are found for an specific language.
| * [YoutubeDL] store the subtitles to download in the 'requested_subtitles' fieldJaime Marquínez Ferrándiz2015-02-161-3/+3
| | | | | | | | | | We need to keep the orginal subtitles information, so that the '--load-info' option can be used to list or select the subtitles again. We'll also be able to have a separate field for storing the automatic captions info.
| * Improve subtitles supportJaime Marquínez Ferrándiz2015-02-161-7/+78
| | | | | | | | | | | | | | | | | | | | | | | | For each language the extractor builds a list with the available formats sorted (like for video formats), then YoutubeDL selects one of them using the '--sub-format' option which now allows giving the format preferences (for example 'ass/srt/best'). For each format the 'url' field can be set so that we only download the contents if needed, or if the contents needs to be processed (like in crunchyroll) the 'data' field can be used. The reasons for this change are: * We weren't checking that the format given with '--sub-format' was available, checking it in each extractor would be repetitive. * It allows to easily support giving a format preference. * The subtitles were automatically downloaded in the extractor, but I think that if you use for example the '--dump-json' option you want to finish as fast as possible. Currently only the ted extractor has been updated, but the old system still works.
* | PEP8: W503Philipp Hagemeister2015-02-211-4/+4
| |