Browse Source

Make uploader and upload_date fields optional

Philipp Hagemeister 12 năm trước cách đây
mục cha
commit
539679c7f9
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      youtube_dl/InfoExtractors.py

+ 2 - 2
youtube_dl/InfoExtractors.py

@@ -35,14 +35,14 @@ class InfoExtractor(object):
     url:            Final video URL.
     title:          Video title, unescaped.
     ext:            Video filename extension.
-    uploader:       Full name of the video uploader.
-    upload_date:    Video upload date (YYYYMMDD).
 
     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.
+    uploader:       Full name of the video uploader.
+    upload_date:    Video upload date (YYYYMMDD).
     uploader_id:    Nickname or id of the video uploader.
     player_url:     SWF Player URL (used for rtmpdump).
     subtitles:      The .srt file contents.