]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/myvideo.py
debian/copyright: Use HTTPS for upstream's source.
[youtubedl] / youtube_dl / extractor / myvideo.py
index 6bb64eb63c52018c34650a6361e7d70cad2459e0..367e811db5a1c0705626ae766483fb02a4c6162a 100644 (file)
@@ -160,7 +160,7 @@ class MyVideoIE(InfoExtractor):
         else:
             video_playpath = ''
 
         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>",
         video_swfobj = compat_urllib_parse_unquote(video_swfobj)
 
         video_title = self._html_search_regex("<h1(?: class='globalHd')?>(.*?)</h1>",