mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 10:47:08 -05:00 
			
		
		
		
	Fix "invalid escape sequences" error on Python 3.6
This commit is contained in:
		@@ -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)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user