Преглед изворни кода

[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