aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
AgeCommit message (Collapse)Author
2015-04-29Typo "incompatible" instead of "uncompatible"zouhair
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-22[YoutubeDL] Remove the redundant assignment to old_filenameYen Chi Hsuan
Caused by commmit 592e97e8550389e22b716eb33c30584aa3a8d656
2015-04-20[YoutubeDL] mp3 is compatible with mp4Sergey M․
2015-04-20[YoutubeDL] Allow bestvideo+bestaudio/best strategy for ted extractorSergey M․
2015-04-19[YoutubeDL] Respect explicit `--merge-format-output` for uncompatible ↵Sergey M․
formats as well
2015-04-19[YoutubeDL] Merge incompatible formats into mkv (#5456)Sergey M․
2015-04-19[YoutubeDL] Make `bestvideo+bestaudio/best` default format when merger is ↵Sergey M․
available
2015-04-19Detect already merged videosJaime Marquínez Ferrándiz
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
2015-04-18FFmpegMergerPP: use the new system for specifying which files can be deleteJaime Marquínez Ferrándiz
2015-04-18Postprocessors: use a list for the files that can be deletedJaime Marquínez Ferrándiz
We could only know if we had to delete the original file, but this system allows to specify us more files (like subtitles).
2015-04-17YoutubeDL.post_process: simplify keep_video handlingJaime Marquínez Ferrándiz
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.
2015-04-12[YoutubeDL] Try to download worst audio+video served by a single file first ↵Sergey M․
(Closes #5408)
2015-04-06Remove check for ssl certsJaime Marquínez Ferrándiz
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)
2015-04-02[YoutubeDL] Check for `get_ca_certs` availabilitySergey M․
`get_ca_certs` is not available in python <3.4
2015-04-02Print a warning if no ssl certificates are loadedJaime Marquínez Ferrándiz
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-21Remove the 'stitle' fieldJaime Marquínez Ferrándiz
A warning has been printed for more than 2 years (since 97cd3afc7525394c46398f1526d412d081c02085)
2015-03-15Fix mistyped docstring indentKang Hyojun
2015-03-13[YoutubeDL] Check for bytes instead of unicode output templates (#5192)Philipp Hagemeister
Also adapt the embedding examples for those poor souls still using 2.x.
2015-03-11Don't accept '-1' as format, 'all' is clearerJaime Marquínez Ferrándiz
2015-03-08[YoutubeDL] Sanitize path before creating non-existent paths (Closes #4324)Sergey M․
2015-03-08[YoutubeDL] Sanitize outtmpl as pathSergey M․
2015-03-08[YoutubeDL] Sanitize outtmpl as it may contain forbidden charactersSergey M․
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[downloader/external] Add support for custom options (Fixes #4885, closes #5098)Philipp Hagemeister
2015-03-01--load-info: Use the fileinput moduleJaime Marquínez Ferrándiz
It automatically handles the '-' filename as stdin
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-28[YoutubeDL] Use the InfoExtractor._download_webpage method for getting the ↵Jaime Marquínez Ferrándiz
subtitles It handles encodings better, for example for 'http://www.npo.nl/nos-journaal/14-02-2015/POW_00942207'
2015-02-23Merge branch 'subtitles-rework'Jaime Marquínez Ferrándiz
(Closes PR #4964)
2015-02-23[YoutubeDL] remove compatiblity with the old subtitles systemJaime Marquínez Ferrándiz
2015-02-22[YoutubeDL] only add normal subtitles to the 'requested_subtitles' field if ↵Jaime Marquínez Ferrándiz
'writesubtitles' is True
2015-02-22[YoutubeDL] don't set the 'requested_subtitles' without writesubtitles or ↵Jaime Marquínez Ferrándiz
writeautomaticsub
2015-02-21PEP8: W503Philipp Hagemeister
2015-02-19[YoutubeDL] Use render_table for format listingPhilipp Hagemeister
2015-02-17[YoutubeDL] use the 'render_table' function for listing the subtitlesJaime Marquínez Ferrándiz
2015-02-17[YoutubeDL] Use a progress hook for progress reportingPhilipp Hagemeister
Instead of every downloader calling two helper functions, let our progress report be an ordinary progress hook like everyone else's. Closes #4875.
2015-02-17Merge remote-tracking branch 'origin/master'Philipp Hagemeister
2015-02-17[ffmpeg] Make available a propertyPhilipp Hagemeister
2015-02-17[YoutubeDL] Use a Request object for getting the cookies (fixes #4970)Jaime Marquínez Ferrándiz
So that we don't have to implement all the methods used by the cookiejar.
2015-02-17[downloader] Add --hls-prefer-native to use the native HLS downloader (#4966)Philipp Hagemeister
2015-02-16[youtube] Convert to new subtitles systemJaime Marquínez Ferrándiz
The automatic captions are stored in the 'automactic_captions' field, which is used if no normal subtitles are found for an specific language.
2015-02-16[YoutubeDL] store the subtitles to download in the 'requested_subtitles' fieldJaime Marquínez Ferrándiz
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.
2015-02-16Improve subtitles supportJaime Marquínez Ferrándiz
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.
2015-02-16[ffmpeg] Add --ffmpeg-locationPhilipp Hagemeister
2015-02-10[YoutubeDL] Do not perform filter matching on partial results (Fixes #4921)Philipp Hagemeister
2015-02-10[options] Add --no-colorPhilipp Hagemeister
2015-02-10[YoutubeDL] Add generic video filtering (Fixes #4916)Philipp Hagemeister
This functionality is intended to eventually encompass the current format filtering.
2015-02-09[YoutubeDL] Do not show worst in --list-formats outputPhilipp Hagemeister
Nobody wants to know what the worst possible format is. And if they do, they can still provide -f worst.