mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-29 00:54:51 +00:00
[VH1,TVLand] Fix extractors (#784)
Fixes #745 but not #713 Authored by: Sipherdrakon
This commit is contained in:
@@ -313,6 +313,10 @@ class MTVServicesInfoExtractor(InfoExtractor):
|
||||
video_player = self._extract_child_with_type(ab_testing or main_container, 'VideoPlayer')
|
||||
mgid = video_player['props']['media']['video']['config']['uri']
|
||||
|
||||
if not mgid:
|
||||
mgid = self._search_regex(
|
||||
r'"media":{"video":{"config":{"uri":"(mgid:.*?)"', webpage, 'mgid', default=None)
|
||||
|
||||
return mgid
|
||||
|
||||
def _real_extract(self, url):
|
||||
|
Reference in New Issue
Block a user