aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/ceskatelevize.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-17 23:36:11 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-17 23:36:11 +0600
commit3e72f5f10e8dbac71e267ce10e791251a54e61ab (patch)
tree022931b228e672c746b5f3f37fcbfda1786c29a5 /youtube_dl/extractor/ceskatelevize.py
parentb94b78971ce70a999584acab57d0a620a91bc2aa (diff)
[ceskatelevize] Use compat_urllib_parse_unquote
Diffstat (limited to 'youtube_dl/extractor/ceskatelevize.py')
-rw-r--r--youtube_dl/extractor/ceskatelevize.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ceskatelevize.py b/youtube_dl/extractor/ceskatelevize.py
index 65f6be623..dda583680 100644
--- a/youtube_dl/extractor/ceskatelevize.py
+++ b/youtube_dl/extractor/ceskatelevize.py
@@ -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)