projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d5fb3b
)
[dailymotion] Update player v5 regex (Closes #7107)
author
Sergey M․
<dstftw@gmail.com>
Thu, 8 Oct 2015 21:54:49 +0000
(
03:54
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 8 Oct 2015 21:54:49 +0000
(
03:54
+0600)
youtube_dl/extractor/dailymotion.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dailymotion.py
b/youtube_dl/extractor/dailymotion.py
index 2d90b222463678b2c49e096f1133a8753921965f..80a05cfee880f57a73b79275f15729adb14e6d24 100644
(file)
--- 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)