浏览代码

Make uploader and upload_date fields optional

Philipp Hagemeister 12 年之前
父节点
当前提交
539679c7f9
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      youtube_dl/InfoExtractors.py

+ 2 - 2
youtube_dl/InfoExtractors.py

@@ -35,14 +35,14 @@ class InfoExtractor(object):
     url:            Final video URL.
     url:            Final video URL.
     title:          Video title, unescaped.
     title:          Video title, unescaped.
     ext:            Video filename extension.
     ext:            Video filename extension.
-    uploader:       Full name of the video uploader.
-    upload_date:    Video upload date (YYYYMMDD).
 
 
     The following fields are optional:
     The following fields are optional:
 
 
     format:         The video format, defaults to ext (used for --get-format)
     format:         The video format, defaults to ext (used for --get-format)
     thumbnail:      Full URL to a video thumbnail image.
     thumbnail:      Full URL to a video thumbnail image.
     description:    One-line video description.
     description:    One-line video description.
+    uploader:       Full name of the video uploader.
+    upload_date:    Video upload date (YYYYMMDD).
     uploader_id:    Nickname or id of the video uploader.
     uploader_id:    Nickname or id of the video uploader.
     player_url:     SWF Player URL (used for rtmpdump).
     player_url:     SWF Player URL (used for rtmpdump).
     subtitles:      The .srt file contents.
     subtitles:      The .srt file contents.