Переглянути джерело

[extractor/common] Introduce channel meta fields

Sergey M․ 7 роки тому
батько
коміт
6f1f59f39c
1 змінених файлів з 5 додано та 0 видалено
  1. 5 0
      youtube_dl/extractor/common.py

+ 5 - 0
youtube_dl/extractor/common.py

@@ -211,6 +211,11 @@ class InfoExtractor(object):
                     If not explicitly set, calculated from timestamp.
     uploader_id:    Nickname or id of the video uploader.
     uploader_url:   Full URL to a personal webpage of the video uploader.
+    channel:        Full name of the channel the video is uploaded on.
+                    Note that channel fields may or may noy repeat uploader
+                    fields. This depends on a particular extractor.
+    channel_id:     Id of the channel.
+    channel_url:    Full URL to a channel webpage.
     location:       Physical location where the video was filmed.
     subtitles:      The available subtitles as a dictionary in the format
                     {tag: subformats}. "tag" is usually a language code, and