]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[ceskatelevize] Use compat_urllib_parse_unquote
authorSergey M․ <dstftw@gmail.com>
Fri, 17 Jul 2015 17:36:11 +0000 (23:36 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 17 Jul 2015 17:36:11 +0000 (23:36 +0600)
youtube_dl/extractor/ceskatelevize.py

index 65f6be62313dfc623cf1f9aa7adc52282872aade..dda583680a03ba3cb420beb74a99af2ec60cbc83 100644 (file)
@@ -7,6 +7,7 @@ from .common import InfoExtractor
 from ..compat import (
     compat_urllib_request,
     compat_urllib_parse,
+    compat_urllib_parse_unquote,
     compat_urllib_parse_urlparse,
 )
 from ..utils import (
@@ -88,7 +89,7 @@ class CeskaTelevizeIE(InfoExtractor):
         if playlist_url == 'error_region':
             raise ExtractorError(NOT_AVAILABLE_STRING, expected=True)
 
-        req = compat_urllib_request.Request(compat_urllib_parse.unquote(playlist_url))
+        req = compat_urllib_request.Request(compat_urllib_parse_unquote(playlist_url))
         req.add_header('Referer', url)
 
         playlist = self._download_json(req, video_id)