aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-10-09 03:54:49 +0600
committerSergey M․ <dstftw@gmail.com>2015-10-09 03:54:49 +0600
commit54a5428518adc4ddca085bdac471bc4f286024e4 (patch)
treea5c4b62b23325e44b1ebb7cb80bae13c880ca1ab
parent9d5fb3b58d95fbd8c28d9c0eaf4a652660324d9e (diff)
[dailymotion] Update player v5 regex (Closes #7107)
-rw-r--r--youtube_dl/extractor/dailymotion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/dailymotion.py b/youtube_dl/extractor/dailymotion.py
index 2d90b2224..80a05cfee 100644
--- a/youtube_dl/extractor/dailymotion.py
+++ b/youtube_dl/extractor/dailymotion.py
@@ -119,7 +119,7 @@ class DailymotionIE(DailymotionBaseInfoExtractor):
webpage, 'comment count', fatal=False))
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)
if player_v5:
player = self._parse_json(player_v5, video_id)