[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

@@ -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):