Fix some regexes

This commit is contained in:
Sergey M․ 2017-10-09 23:50:53 +07:00
parent 8992331621
commit 197224b7a4
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D
30 changed files with 35 additions and 35 deletions

View file

@ -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>",