aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
AgeCommit message (Collapse)Author
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.
2015-02-09[YoutubeDL] Allow filtering by audio sampling rateSergey M․
2015-02-09[YoutubeDL] Allow filtering by string properties (#4906)Sergey M․
2015-02-06[YoutubeDL] _calc_cookies: add get_header method to _PseudoRequest (#4861)Jaime Marquínez Ferrándiz
2015-02-06[YoutubeDL] Fix video+audio format field (Closes #4880)Sergey M․
2015-02-03[YoutubeDL] Calculate thumbnail IDs automaticallyPhilipp Hagemeister
2015-02-01Appease pyflakes8-3Philipp Hagemeister
2015-01-31[YoutubeDL] Fix video+audio format_id (Closes #4824)Sergey M․
2015-01-30Remove duplicate dictionary keyscodesparkle
2015-01-29[YoutubeDL] set the 'thumbnails' field if the info_dict has the 'thumbnails' ↵Jaime Marquínez Ferrándiz
field Since the '--write-thumbnail' uses the 'thumbnails' field and we didn't updated the info_dict, it wouldn't detect the thumbnail. (fixes #4812)
2015-01-29[YoutubeDL] Set format_id for video+audio (Closes #3634)Sergey M․
2015-01-27[YoutubeDL] Temporary fix for subprocess encoding issues on python2 @ ↵Sergey M․
Windows (Closes #4787) For now filenames will be encoded with preferrefencoding before written to disk
2015-01-26[YoutubeDL] Allow format filtering by fpsPhilipp Hagemeister
2015-01-26[YoutubeDL] Always set the '_filename' field in the info_dict (reported in ↵Jaime Marquínez Ferrándiz
#4053) It's also useful when you use the '--write-info-json' option.
2015-01-25[YoutubeDL] clarify hook documentationPhilipp Hagemeister
2015-01-25Add --xattr-set-filesize option (Fixes #1348)Philipp Hagemeister
2015-01-25[YoutubeDL] Add --playlist-items option (Fixes #2662)Philipp Hagemeister
2015-01-25[YoutubeDL] Implement --write-all-thumbnails (Closes #2269)Philipp Hagemeister