[VH1,TVLand] Fix extractors (#784)
Fixes #745 but not #713 Authored by: Sipherdrakon
This commit is contained in:
parent
1dd6d9ca9d
commit
54153fb71b
4 changed files with 17 additions and 22 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue