youtube-dl/youtube_dl
Rogério Brito 01b9d2b490 extractor: youtube: Allow format number as output template.
Since many video formats map to the same extension, we get problems when
trying to download more than one format of the same audio/video with the
same ID.

This commit introduces a numeric version of the template of the video
format, which can help users who start downloading with a format (say, 720p
mp4), stop and then resume with another format (say, 360p mp4). See:

* http://bugs.debian.org/689294
* http://bugs.debian.org/643831

An output template like '%(title)s-%(id)s.%(format_num)s.%(ext)s' would,
unmistakenly, solve such problems.

This is also helpful to know what format was effectively downloaded when a
user expected something else (like, for instance, in issue #1578 or many of
its duplicates).

Another application of this is in separate downloads of audio video (as in
issue #1612).

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
2013-10-18 18:30:57 -03:00
..
extractor extractor: youtube: Allow format number as output template. 2013-10-18 18:30:57 -03:00
__init__.py Add metavar to --cache-dir 2013-10-18 11:50:48 +02:00
__main__.py Resolve the symlink if __main__.py is invoke as a symlink. 2013-04-11 08:02:17 +03:00
aes.py Let aes_decrypt_text return bytes instead of unicode 2013-08-28 16:03:35 +02:00
FileDownloader.py Make sure it only runs rtmpdump one time in test mode and return True if the download can be resumed 2013-10-11 12:42:15 +02:00
InfoExtractors.py Remove mentions of old InfoExtractors module 2013-06-23 22:42:59 +02:00
PostProcessor.py Do not import * 2013-10-15 02:07:26 +02:00
update.py [update] Prevent cmd window popup on Windows (Fixes #1478) 2013-09-29 14:37:06 +02:00
utils.py Extend #980 with --max-quality support 2013-10-18 00:46:35 +02:00
version.py release 2013.10.18.1 2013-10-18 11:45:30 +02:00
YoutubeDL.py fix typos 2013-10-18 00:49:45 +02:00