[dailymotion] Update player v5 regex (Closes #7107)
This commit is contained in:
parent
9d5fb3b58d
commit
54a5428518
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class DailymotionIE(DailymotionBaseInfoExtractor):
|
||||||
webpage, 'comment count', fatal=False))
|
webpage, 'comment count', fatal=False))
|
||||||
|
|
||||||
player_v5 = self._search_regex(
|
player_v5 = self._search_regex(
|
||||||
r'playerV5\s*=\s*dmp\.create\([^,]+?,\s*({.+?})\);',
|
[r'buildPlayer\(({.+?})\);', r'playerV5\s*=\s*dmp\.create\([^,]+?,\s*({.+?})\);'],
|
||||||
webpage, 'player v5', default=None)
|
webpage, 'player v5', default=None)
|
||||||
if player_v5:
|
if player_v5:
|
||||||
player = self._parse_json(player_v5, video_id)
|
player = self._parse_json(player_v5, video_id)
|
||||||
|
|
Loading…
Reference in a new issue