aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/myvideo.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-10-09 23:50:53 +0700
committerSergey M․ <dstftw@gmail.com>2017-10-09 23:50:53 +0700
commit197224b7a4e37a6581bf1a0da18d0f67ea61a476 (patch)
treec2cd8cac66667b65610ca7dc279d0fe98c87ae50 /youtube_dl/extractor/myvideo.py
parent89923316210f8e17bb1a085278940e1c56fcff48 (diff)
Fix some regexes
Diffstat (limited to 'youtube_dl/extractor/myvideo.py')
-rw-r--r--youtube_dl/extractor/myvideo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/myvideo.py b/youtube_dl/extractor/myvideo.py
index 6bb64eb63..367e811db 100644
--- a/youtube_dl/extractor/myvideo.py
+++ b/youtube_dl/extractor/myvideo.py
@@ -160,7 +160,7 @@ class MyVideoIE(InfoExtractor):
else:
video_playpath = ''
- video_swfobj = self._search_regex(r'swfobject.embedSWF\(\'(.+?)\'', webpage, 'swfobj')
+ video_swfobj = self._search_regex(r'swfobject\.embedSWF\(\'(.+?)\'', webpage, 'swfobj')
video_swfobj = compat_urllib_parse_unquote(video_swfobj)
video_title = self._html_search_regex("<h1(?: class='globalHd')?>(.*?)</h1>",