From b49e75ff9a423eca11d71e07daa69150d3066288 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Tue, 27 Nov 2012 17:38:22 +0100 Subject: [PATCH] info_dict['upload_date'] is documented in --output, IEs MUST specify it --- youtube_dl/InfoExtractors.py | 13 +++++++------ 1 file 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 -- 2.39.5