aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/YoutubeDL.py
Commit message (Collapse)AuthorAgeFilesLines
...
* [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
| |
* | [YoutubeDL] Use render_table for format listingPhilipp Hagemeister2015-02-191-18/+7
| |
* | [YoutubeDL] Use a progress hook for progress reportingPhilipp Hagemeister2015-02-171-3/+10
| | | | | | | | | | Instead of every downloader calling two helper functions, let our progress report be an ordinary progress hook like everyone else's. Closes #4875.
* | Merge remote-tracking branch 'origin/master'Philipp Hagemeister2015-02-171-23/+2
|\ \
| * | [YoutubeDL] Use a Request object for getting the cookies (fixes #4970)Jaime Marquínez Ferrándiz2015-02-171-23/+2
| | | | | | | | | | | | So that we don't have to implement all the methods used by the cookiejar.
* | | [ffmpeg] Make available a propertyPhilipp Hagemeister2015-02-171-1/+1
|/ /
* | [downloader] Add --hls-prefer-native to use the native HLS downloader (#4966)Philipp Hagemeister2015-02-171-1/+4
| |
* | [ffmpeg] Add --ffmpeg-locationPhilipp Hagemeister2015-02-161-2/+2
|/
* [YoutubeDL] Do not perform filter matching on partial results (Fixes #4921)Philipp Hagemeister2015-02-101-8/+9
|
* [options] Add --no-colorPhilipp Hagemeister2015-02-101-2/+3
|
* [YoutubeDL] Add generic video filtering (Fixes #4916)Philipp Hagemeister2015-02-101-1/+13
| | | | This functionality is intended to eventually encompass the current format filtering.
* [YoutubeDL] Do not show worst in --list-formats outputPhilipp Hagemeister2015-02-091-1/+0
| | | | Nobody wants to know what the worst possible format is. And if they do, they can still provide -f worst.
* [YoutubeDL] Allow filtering by audio sampling rateSergey M․2015-02-091-1/+1
|
* [YoutubeDL] Allow filtering by string properties (#4906)Sergey M․2015-02-091-12/+29
|
* [YoutubeDL] _calc_cookies: add get_header method to _PseudoRequest (#4861)Jaime Marquínez Ferrándiz2015-02-061-0/+3
|
* [YoutubeDL] Fix video+audio format field (Closes #4880)Sergey M․2015-02-061-1/+2
|
* [YoutubeDL] Calculate thumbnail IDs automaticallyPhilipp Hagemeister2015-02-031-1/+3
|
* Appease pyflakes8-3Philipp Hagemeister2015-02-011-1/+2
|
* [YoutubeDL] Fix video+audio format_id (Closes #4824)Sergey M․2015-01-311-1/+2
|
* Remove duplicate dictionary keyscodesparkle2015-01-301-1/+0
|
* [YoutubeDL] set the 'thumbnails' field if the info_dict has the 'thumbnails' ↵Jaime Marquínez Ferrándiz2015-01-291-1/+1
| | | | | | 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)
* [YoutubeDL] Set format_id for video+audio (Closes #3634)Sergey M․2015-01-291-0/+1
|
* [YoutubeDL] Temporary fix for subprocess encoding issues on python2 @ ↵Sergey M․2015-01-271-0/+5
| | | | | | Windows (Closes #4787) For now filenames will be encoded with preferrefencoding before written to disk
* [YoutubeDL] Allow format filtering by fpsPhilipp Hagemeister2015-01-261-1/+1
|
* [YoutubeDL] Always set the '_filename' field in the info_dict (reported in ↵Jaime Marquínez Ferrándiz2015-01-261-4/+1
| | | | | | #4053) It's also useful when you use the '--write-info-json' option.
* [YoutubeDL] clarify hook documentationPhilipp Hagemeister2015-01-251-4/+6
|
* Add --xattr-set-filesize option (Fixes #1348)Philipp Hagemeister2015-01-251-1/+2
|
* [YoutubeDL] Add --playlist-items option (Fixes #2662)Philipp Hagemeister2015-01-251-5/+33
|
* [YoutubeDL] Implement --write-all-thumbnails (Closes #2269)Philipp Hagemeister2015-01-251-19/+38
|
* Add --list-thumbnailsPhilipp Hagemeister2015-01-251-4/+33
|
* [YoutubeDL._calc_cookies] Restore the 'is_unverifiable'Jaime Marquínez Ferrándiz2015-01-241-0/+3
| | | | I should have check everything was copied before commiting 4b405cfc6e4f9184567b94ee2f8a4a9851a912b5.
* [YoutubeDL._calc_cookies] Restore the 'has_header' methodJaime Marquínez Ferrándiz2015-01-241-0/+3
| | | | I didn't copied it from downloader/external
* [YoutubeDL] Fill the info dict 'http_headers' field with all the headers ↵Jaime Marquínez Ferrándiz2015-01-241-0/+36
| | | | | | | | 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']".
* [downloader] Lay groundwork for external downloaders.Philipp Hagemeister2015-01-241-0/+1
| | | | This comes with a very simply implementation for wget; the real work is in setting up the infrastructure.
* [downloader] Improve downloader selectionPhilipp Hagemeister2015-01-231-1/+1
|
* [youtube] Fixup DASH m4a headersPhilipp Hagemeister2015-01-231-5/+23
| | | | This fixes #2288, #2506, #2607, #3681, #4741, #4767.
* Merge remote-tracking branch 'rupertbaxter2/master'Philipp Hagemeister2015-01-231-0/+1
|\ | | | | | | | | | | Conflicts: youtube_dl/__init__.py youtube_dl/downloader/common.py
* | [YoutubeDL] Allow filtering by properties (Fixes #4584)Philipp Hagemeister2015-01-231-0/+54
| |
* | check for overwriting files in the downloader (fixes #3916, closes #3829)Pierre2015-01-111-42/+39
| |
* | YoutubeDL: Make the decision about removing the original file after each ↵Jaime Marquínez Ferrándiz2015-01-111-8/+9
| | | | | | | | | | | | | | | | | | 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.
* | [options] Add --no-call-homePhilipp Hagemeister2015-01-101-2/+2
| | | | | | | | While we're at it, also drop "experimental" moniker for --call-home - should work fine.