Browse Source

info_dict['upload_date'] is documented in --output, IEs MUST specify it

Filippo Valsorda 12 years ago
parent
commit
b49e75ff9a
1 changed files with 7 additions and 6 deletions
  1. 7 6
      youtube_dl/InfoExtractors.py

+ 7 - 6
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