1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 00:25:08 +00:00

[VH1,TVLand] Fix extractors (#784)

Fixes #745 but not #713
Authored by: Sipherdrakon
This commit is contained in:
Sipherdrakon
2021-08-29 17:50:58 -04:00
committed by GitHub
parent 1dd6d9ca9d
commit 54153fb71b
4 changed files with 17 additions and 22 deletions

View File

@ -67,6 +67,7 @@ class NickIE(MTVServicesInfoExtractor):
'description': 'md5:9d65a66df38e02254852794b2809d1cf',
'title': 'Blue\'s Imagination Station',
},
'skip': 'Not accessible?'
}]
def _get_feed_query(self, uri):
@ -75,10 +76,6 @@ class NickIE(MTVServicesInfoExtractor):
'mgid': uri,
}
def _extract_mgid(self, webpage):
mgid = self._search_regex(r'"media":{"video":{"config":{"uri":"(mgid:.*?)"', webpage, 'mgid', default=None)
return mgid
def _real_extract(self, url):
domain, video_type, display_id = self._match_valid_url(url).groups()
if video_type.startswith("episodes"):