logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 6f1f59f39cf934d5ccae3ca2e6fd4eaab726137f
parent 15bf2ca0da0ae94dbc6c3b76c89910ceaea88bd9
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat, 15 Sep 2018 01:23:36 +0700

[extractor/common] Introduce channel meta fields

Diffstat:

Myoutube_dl/extractor/common.py5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/youtube_dl/extractor/common.py b/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