Fix "invalid escape sequences" error on Python 3.6
This commit is contained in:
parent
24d8a75982
commit
ec85ded83c
283 changed files with 538 additions and 538 deletions
|
@ -34,7 +34,7 @@ class TinyPicIE(InfoExtractor):
|
|||
webpage = self._download_webpage(url, video_id, 'Downloading page')
|
||||
|
||||
mobj = re.search(r'(?m)fo\.addVariable\("file",\s"(?P<fileid>[\da-z]+)"\);\n'
|
||||
'\s+fo\.addVariable\("s",\s"(?P<serverid>\d+)"\);', webpage)
|
||||
r'\s+fo\.addVariable\("s",\s"(?P<serverid>\d+)"\);', webpage)
|
||||
if mobj is None:
|
||||
raise ExtractorError('Video %s does not exist' % video_id, expected=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue