diff options
author | Filippo Valsorda <filippo.valsorda@gmail.com> | 2012-11-27 17:38:22 +0100 |
---|---|---|
committer | Filippo Valsorda <filippo.valsorda@gmail.com> | 2012-11-27 17:38:22 +0100 |
commit | b49e75ff9a423eca11d71e07daa69150d3066288 (patch) | |
tree | 6d913fa7dae39cfb866bc9922451e678e4384f6f /youtube_dl/InfoExtractors.py | |
parent | abe7a3ac2a85b0323820270f0920d44682b5cd11 (diff) |
info_dict['upload_date'] is documented in --output, IEs MUST specify it
Diffstat (limited to 'youtube_dl/InfoExtractors.py')
-rw-r--r-- | youtube_dl/InfoExtractors.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index a39e865dc..8ea03ea01 100644 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -38,17 +38,18 @@ class InfoExtractor(object): The dictionaries must include the following fields: - id: Video identifier. - url: Final video URL. - uploader: Nickname of the video uploader. - title: Video title, unescaped. - ext: Video filename extension. + id: Video identifier. + url: Final video URL. + uploader: Nickname of the video uploader. + upload_date: Video upload date (YYYYMMDD). + title: Video title, unescaped. + ext: Video filename extension. The following fields are optional: format: The video format, defaults to ext (used for --get-format) thumbnail: Full URL to a video thumbnail image. - description One-line video description. + description: One-line video description. player_url: SWF Player URL (used for rtmpdump). Subclasses of this one should re-define the _real_initialize() and |