summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-17 23:47:51 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-17 23:47:51 +0600
commit47af21e8f15be1ddb6195327719569d8723a669e (patch)
tree2b29ea4871b84036381e150c49f85548b2ee9b60
parent605cbef65326b52ba9fdb994fc06798f15a3a1ee (diff)
downloadyoutube-dl-47af21e8f15be1ddb6195327719569d8723a669e.tar.gz
youtube-dl-47af21e8f15be1ddb6195327719569d8723a669e.tar.xz
youtube-dl-47af21e8f15be1ddb6195327719569d8723a669e.zip
[spankwire] Use compat_urllib_parse_unquote
-rw-r--r--youtube_dl/extractor/spankwire.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/spankwire.py b/youtube_dl/extractor/spankwire.py
index bff75d6b2..5fa6faf18 100644
--- a/youtube_dl/extractor/spankwire.py
+++ b/youtube_dl/extractor/spankwire.py
@@ -4,7 +4,7 @@ import re
 
 from .common import InfoExtractor
 from ..compat import (
-    compat_urllib_parse,
+    compat_urllib_parse_unquote,
     compat_urllib_parse_urlparse,
     compat_urllib_request,
 )
@@ -68,7 +68,7 @@ class SpankwireIE(InfoExtractor):
             webpage, 'comment count', fatal=False))
 
         video_urls = list(map(
-            compat_urllib_parse.unquote,
+            compat_urllib_parse_unquote,
             re.findall(r'playerData\.cdnPath[0-9]{3,}\s*=\s*(?:encodeURIComponent\()?["\']([^"\']+)["\']', webpage)))
         if webpage.find('flashvars\.encrypted = "true"') != -1:
             password = self._search_regex(