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
|
@ -85,7 +85,7 @@ class SpankwireIE(InfoExtractor):
|
|||
r'playerData\.cdnPath([0-9]{3,})\s*=\s*(?:encodeURIComponent\()?["\']([^"\']+)["\']', webpage)
|
||||
heights = [int(video[0]) for video in videos]
|
||||
video_urls = list(map(compat_urllib_parse_unquote, [video[1] for video in videos]))
|
||||
if webpage.find('flashvars\.encrypted = "true"') != -1:
|
||||
if webpage.find(r'flashvars\.encrypted = "true"') != -1:
|
||||
password = self._search_regex(
|
||||
r'flashvars\.video_title = "([^"]+)',
|
||||
webpage, 'password').replace('+', ' ')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue