diff --git a/youtube_dl/extractor/ceskatelevize.py b/youtube_dl/extractor/ceskatelevize.py index 8a36bd9808..b1c683787d 100644 --- a/youtube_dl/extractor/ceskatelevize.py +++ b/youtube_dl/extractor/ceskatelevize.py @@ -3,7 +3,6 @@ import re import json -from urllib import unquote from .common import InfoExtractor from ..utils import ( @@ -70,7 +69,7 @@ def _real_extract(self, url): playlistpage = self._download_webpage(req, video_id) - req = compat_urllib_request.Request(unquote(json.loads(playlistpage)['url'])) + req = compat_urllib_request.Request(compat_urllib_parse.unquote(json.loads(playlistpage)['url'])) req.add_header('Referer', url) playlist = self._download_xml(req, video_id)