Sergey M․
8 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
4 additions and
1 deletions
-
youtube_dl/extractor/youtube.py
|
@ -2175,7 +2175,7 @@ class YoutubeUserIE(YoutubeChannelIE): |
|
|
|
|
|
|
|
|
class YoutubeLiveIE(YoutubeBaseInfoExtractor): |
|
|
class YoutubeLiveIE(YoutubeBaseInfoExtractor): |
|
|
IE_DESC = 'YouTube.com live streams' |
|
|
IE_DESC = 'YouTube.com live streams' |
|
|
_VALID_URL = r'(?P<base_url>https?://(?:\w+\.)?youtube\.com/(?:user|channel|c)/(?P<id>[^/]+))/live' |
|
|
|
|
|
|
|
|
_VALID_URL = r'(?P<base_url>https?://(?:\w+\.)?youtube\.com/(?:(?:user|channel|c)/)?(?P<id>[^/]+))/live' |
|
|
IE_NAME = 'youtube:live' |
|
|
IE_NAME = 'youtube:live' |
|
|
|
|
|
|
|
|
_TESTS = [{ |
|
|
_TESTS = [{ |
|
@ -2204,6 +2204,9 @@ class YoutubeLiveIE(YoutubeBaseInfoExtractor): |
|
|
}, { |
|
|
}, { |
|
|
'url': 'https://www.youtube.com/c/CommanderVideoHq/live', |
|
|
'url': 'https://www.youtube.com/c/CommanderVideoHq/live', |
|
|
'only_matching': True, |
|
|
'only_matching': True, |
|
|
|
|
|
}, { |
|
|
|
|
|
'url': 'https://www.youtube.com/TheYoungTurks/live', |
|
|
|
|
|
'only_matching': True, |
|
|
}] |
|
|
}] |
|
|
|
|
|
|
|
|
def _real_extract(self, url): |
|
|
def _real_extract(self, url): |
|
|