[spankwire] Do not modify aes key string
authorSergey M․ <dstftw@gmail.com>
Tue, 26 May 2015 19:42:53 +0000 (01:42 +0600)
committerSergey M․ <dstftw@gmail.com>
Tue, 26 May 2015 19:42:53 +0000 (01:42 +0600)
youtube_dl/extractor/spankwire.py

index b936202f6f3005fe9ae085724566d709c6a484cc..06d6e6640637f2ff3507c3fa1c68339fbb8d98b4 100644 (file)
@@ -71,7 +71,7 @@ class SpankwireIE(InfoExtractor):
             compat_urllib_parse.unquote,
             re.findall(r'playerData\.cdnPath[0-9]{3,}\s*=\s*["\']([^"\']+)["\']', webpage)))
         if webpage.find('flashvars\.encrypted = "true"') != -1:
-            password = self._html_search_regex(
+            password = self._search_regex(
                 r'flashvars\.video_title = "([^"]+)',
                 webpage, 'password').replace('+', ' ')
             video_urls = list(map(