aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
AgeCommit message (Collapse)Author
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-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
2015-01-25Add --list-thumbnailsPhilipp Hagemeister
2015-01-24[YoutubeDL._calc_cookies] Restore the 'is_unverifiable'Jaime Marquínez Ferrándiz
I should have check everything was copied before commiting 4b405cfc6e4f9184567b94ee2f8a4a9851a912b5.
2015-01-24[YoutubeDL._calc_cookies] Restore the 'has_header' methodJaime Marquínez Ferrándiz
I didn't copied it from downloader/external
2015-01-24[YoutubeDL] Fill the info dict 'http_headers' field with all the headers ↵Jaime Marquínez Ferrándiz
available Useful for external tools using the json output. The methods '_calc_headers' and '_calc_cookies' have been copied from the downloader/external, now they just use "info_dict['http_headers']".
2015-01-24[downloader] Lay groundwork for external downloaders.Philipp Hagemeister
This comes with a very simply implementation for wget; the real work is in setting up the infrastructure.
2015-01-23[downloader] Improve downloader selectionPhilipp Hagemeister
2015-01-23[youtube] Fixup DASH m4a headersPhilipp Hagemeister
This fixes #2288, #2506, #2607, #3681, #4741, #4767.
2015-01-23Merge remote-tracking branch 'rupertbaxter2/master'Philipp Hagemeister
Conflicts: youtube_dl/__init__.py youtube_dl/downloader/common.py
2015-01-23[YoutubeDL] Allow filtering by properties (Fixes #4584)Philipp Hagemeister
2015-01-11check for overwriting files in the downloader (fixes #3916, closes #3829)Pierre
2015-01-11YoutubeDL: Make the decision about removing the original file after each ↵Jaime Marquínez Ferrándiz
postprocessor is run (fixes #2261) If one of the processors said the file should be kept, it wouldn't pay attention to the response from the following processors. This was wrong if the 'keep_video' option was False, if the first extractor modifies the original file and then we extract its audio we don't want to keep the original video file.
2015-01-10[options] Add --no-call-homePhilipp Hagemeister
While we're at it, also drop "experimental" moniker for --call-home - should work fine.
2015-01-10[YoutubeDL] Add new --call-home option for debuggingPhilipp Hagemeister
2015-01-10Add new option --source-addressPhilipp Hagemeister
Closes #3618, fixes #721, fixes #2481, fixes #4551, closes #1020.
2015-01-10[youtube|ffmpeg] Automatically correct video with non-square pixels (Fixes ↵Philipp Hagemeister
#4674)
2015-01-10Merge remote-tracking branch 'aft90/merge-output-format'Philipp Hagemeister
Conflicts: youtube_dl/YoutubeDL.py
2015-01-10Use the option in preparing the merge output filenameAndrei Troie
2015-01-09[YoutubeDL] Copy over format metadata when merging (Fixes #4671)Philipp Hagemeister
2015-01-08[YoutubeDL] Allow selection by more extensionsPhilipp Hagemeister
2015-01-07Respect age_limit when listing extractors (Fixes #4653)Philipp Hagemeister
2015-01-03[youtube] Correct handling when DASH manifest is not necessary to find all ↵Philipp Hagemeister
formats
2014-12-21Don't write the description file if info_dict['description'] is None (#3166)Jaime Marquínez Ferrándiz
2014-12-17YoutubeDL: style fixJaime Marquínez Ferrándiz
2014-12-17Update YoutubeDL.pyAndroKev
2014-12-17only add video-id to archive, when successfulAndroKev
Example: no space left--> youtube-dl adds the id to archive, but the video isn't fully downloaded
2014-12-16Drop hash character in downloader output (#4484)Philipp Hagemeister