summaryrefslogtreecommitdiffstats
path: root/youtube_dl/YoutubeDL.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| |
* | [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
|