浏览代码

[spankwire] Do not modify aes key string

Sergey M․ 10 年之前
父节点
当前提交
1434184c57
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/spankwire.py

+ 1 - 1
youtube_dl/extractor/spankwire.py

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