78a3a9f89e
Make "requested format not available" expected ( #1655 )
2013-10-28 11:41:59 +01:00
a7685f3bf4
mixcloud does not do any format selection
2013-10-28 11:41:32 +01:00
8abeeb9449
Nicer --list-formats output
2013-10-28 11:31:12 +01:00
c1002e96e9
Let extractors omit ext in formats
2013-10-28 11:28:02 +01:00
7df286540f
[YouPornIE] Extract all encrypted links and remove doubles at the end
2013-10-26 21:57:10 +02:00
7853cc5ae1
Merge remote-tracking branch 'origin/master'
...
Conflicts:
youtube_dl/YoutubeDL.py
2013-10-22 22:30:06 +02:00
586a91b67f
Expand tilde in template ( Fixes #1639 )
2013-10-22 22:28:26 +02:00
fe7e0c9825
Style fixes in YoutubeDL.py
...
Fixed some of the problems reported by pep8
2013-10-22 14:49:34 +02:00
12893efe01
Respect the download parameter in YoutubeDL.process_video_result if the extractor handle the format selection
2013-10-22 00:01:59 +02:00
8c51aa6506
The 'format' field now defaults to '{format_id} - {width}x{height}{format_note}'
...
Following the YoutubeIE format. The 'format_note' gives additional info about the format, for example '3D' or 'DASH video'.
2013-10-21 14:42:06 +02:00
3fd39e37f2
YoutubeDL: remove method that came from FileDownloader
2013-10-21 13:52:24 +02:00
49e86983e7
Allow to use the extension for the format selection
...
The best format with the extension is downloaded.
2013-10-21 13:31:55 +02:00
a9c58ad945
Accept requested formats to be in the format 35/best ( closes #1552 )
...
The format selection code is now an independent function.
2013-10-21 13:19:58 +02:00
416a5efce7
fix typos
2013-10-18 00:49:45 +02:00
f4d96df0f1
Extend #980 with --max-quality support
2013-10-18 00:46:35 +02:00
1c1218fefc
Merge remote-tracking branch 'jaimeMF/format_selection'
2013-10-18 00:17:03 +02:00
1fb07d10a3
[youtube] Adds #1312 Download annotations
...
Adds #1321 Download annotations from youtube
Annotations are downloaded and written to a .annotations.xml file using the https://www.youtube.com/annotations_invideo?features=1&legacy=1&video_id=$VIDEOID API.
Added unit test for annotations.
2013-10-14 16:22:27 +11:00
8016c92297
Fix the default values of format_id and format
2013-10-11 16:34:49 +02:00
e028d0d1e3
Implement the prefer_free_formats in YoutubeDL
2013-10-11 16:34:49 +02:00
79819f58f2
Default 'format' field to {width}x{height}
...
If width is None, use {height}p and if height is None, '???'
2013-10-11 16:34:49 +02:00
6ff000b888
Do not handle format selection for IEs that already handle it
2013-10-11 16:34:48 +02:00
99e206d508
Implement the max quality option in YoutubeDL
2013-10-11 16:34:48 +02:00
dd82ffea0c
Implement format selection in YoutubeDL
...
Now the IEs can set a formats field in the info_dict, with the formats ordered from worst to best quality. It's a list of dicts with the following fields:
* Mandatory: url and ext
* Optional: format and format_id
The format_id is used for choosing which formats have to be downloaded.
Now a video result is processed by the method process_video_result.
2013-10-11 16:34:48 +02:00
1d368c7589
Tiny tpo
2013-10-09 21:56:09 +08:00
b24f347190
Merge branch 'download-archive'
...
Conflicts:
youtube_dl/YoutubeDL.py
youtube_dl/__init__.py
2013-10-06 16:30:26 +02:00
ee6c9f95e1
Remove superfluous parenthesis
2013-10-06 16:28:36 +02:00
cfadd183c4
Call extracted property age_limit everywhere
2013-10-06 16:23:06 +02:00
8dbe9899a9
Allow users to specify an age limit ( fixes #1545 )
...
With these changes, users can now restrict what videos are downloaded by the intented audience, by specifying their age with --age-limit YEARS .
Add rudimentary support in youtube, pornotube, and youporn.
2013-10-06 06:08:56 +02:00
c1c9a79c49
Add basic --download-archive option
...
Often, users want to be able to download only videos they haven't seen before, despite the video files having been deleted or moved in the mean time.
When --download-archive FILE is given, the extractor and ID of every download is recorded in the specified file. If it is already present, the video in question is skipped.
2013-10-06 04:27:10 +02:00
47192f92d8
implement --no-playlist to only download current video - closes #755
2013-09-30 16:26:25 -04:00
0a60edcfa9
Don't fail if the video thumbnail couldn't be downloaded ( fixes #1516 )
...
Just report a warning
2013-09-27 14:19:19 +02:00
c3c88a2664
Allow opts.cachedir == None to disable cache
2013-09-24 21:04:43 +02:00
c35f9e72ce
Move cachedir doc
2013-09-22 11:09:25 +02:00
34308b30d6
Warn if no locale is set ( #1474 )
2013-09-21 11:48:07 +02:00
c40c6aaaaa
Catch socket.error before IOError
...
Since python 2.6 it's a child class.
2013-09-20 13:26:03 +02:00
7459e3a290
Always correct encoding when writing to sys.stderr ( Fixes #1435 )
2013-09-16 06:55:41 +02:00
0b7f31184d
Now --all-sub is a modifier to --write-sub and --write-auto-sub ( closes #1412 )
...
For keeping backwards compatibility --all-sub sets --write-sub if --write-auto-sub is not given
2013-09-14 11:14:40 +02:00
535f59bbcf
Merge pull request #1350 from Jaiz909/description-keyerror-fix
...
Fixed issue #1277 KeyError when no description.
2013-09-13 18:20:42 +02:00
b3f0e53048
Fixed issue #1277 KeyError when no description.
...
Allows a continue with a warning when an extractor cannot retrieve a description.
2013-08-31 01:53:01 +10:00
6d69d03bac
Merge remote-tracking branch 'origin/reuse_ies'
2013-08-28 13:05:21 +02:00
edde6c56ac
Print playpath with --get-url ( Fixes #1334 )
2013-08-28 12:14:45 +02:00
aa6a10c44a
Allow to specify multiple subtitles languages separated by commas ( closes #518 )
2013-08-23 18:34:57 +02:00
d4051a8e05
Add a post processor for embedding subtitles in mp4 videos ( closes #1052 )
2013-08-23 15:06:19 +02:00
9e9c164052
Merge pull request #937 from jaimeMF/subtitles_rework
...
Subtitles rework
2013-08-23 02:40:25 -07:00
67fb0c5495
Merge branch 'master' of github.com:rg3/youtube-dl
2013-08-08 08:56:59 +02:00
4efba05c56
Clarify template error message ( #1209 )
2013-08-08 08:55:26 +02:00
7edcb8f39c
More informative error
2013-08-05 19:43:09 -07:00
bbcbf4d459
Switch some calls to to_stderr to report_error and report_warning
2013-07-31 21:20:46 +02:00
6804038d06
Don't try to write the subtitles if it's None
2013-07-20 12:59:47 +02:00
5d51a883c2
Use a dictionary for storing the subtitles
...
The errors while getting the subtitles are reported as warnings, if no subtitles are found return and empty dict.
2013-07-20 12:52:25 +02:00