1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 11:41:52 +00:00

[extractor/common] Fix typos

This commit is contained in:
Sergey M․ 2018-09-15 01:53:01 +07:00
parent 127103b643
commit 0e7b8d3eac
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -212,7 +212,7 @@ class InfoExtractor(object):
uploader_id: Nickname or id of the video uploader. uploader_id: Nickname or id of the video uploader.
uploader_url: Full URL to a personal webpage 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. channel: Full name of the channel the video is uploaded on.
Note that channel fields may or may noy repeat uploader Note that channel fields may or may not repeat uploader
fields. This depends on a particular extractor. fields. This depends on a particular extractor.
channel_id: Id of the channel. channel_id: Id of the channel.
channel_url: Full URL to a channel webpage. channel_url: Full URL to a channel webpage.
@ -1706,9 +1706,9 @@ class InfoExtractor(object):
# However, this is not always respected, for example, [2] # However, this is not always respected, for example, [2]
# contains EXT-X-STREAM-INF tag which references AUDIO # contains EXT-X-STREAM-INF tag which references AUDIO
# rendition group but does not have CODECS and despite # rendition group but does not have CODECS and despite
# referencing audio group an audio group, it represents # referencing an audio group it represents a complete
# a complete (with audio and video) format. So, for such cases # (with audio and video) format. So, for such cases we will
# we will ignore references to rendition groups and treat them # ignore references to rendition groups and treat them
# as complete formats. # as complete formats.
if audio_group_id and codecs and f.get('vcodec') != 'none': if audio_group_id and codecs and f.get('vcodec') != 'none':
audio_group = groups.get(audio_group_id) audio_group = groups.get(audio_group_id)