projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a5a187
)
[videomore] Fix embed regex
author
Sergey M․
<dstftw@gmail.com>
Wed, 21 Sep 2016 15:51:36 +0000
(22:51 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 21 Sep 2016 15:51:36 +0000
(22:51 +0700)
youtube_dl/extractor/videomore.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/videomore.py
b/youtube_dl/extractor/videomore.py
index 328b5b7fbae72d8bfe28909488665c65bec2c8a7..8a11ff84828a26d35566c7f5fe65c3f4cdc322b4 100644
(file)
--- a/
youtube_dl/extractor/videomore.py
+++ b/
youtube_dl/extractor/videomore.py
@@
-84,7
+84,7
@@
class VideomoreIE(InfoExtractor):
@staticmethod
def _extract_url(webpage):
mobj = re.search(
- r'<object[^>]+data=(["\'])https?://videomore.ru/player\.swf\?.*config=(?P<url>https?://videomore\.ru/(?:[^/]+/)+\d+\.xml).*\1',
+ r'<object[^>]+data=(["\'])https?://videomore
\
.ru/player\.swf\?.*config=(?P<url>https?://videomore\.ru/(?:[^/]+/)+\d+\.xml).*\1',
webpage)
if mobj:
return mobj.group('url')