diff options
author | pulpe <Pulpan3@gmail.com> | 2014-03-01 16:02:51 +0100 |
---|---|---|
committer | pulpe <Pulpan3@gmail.com> | 2014-03-01 16:02:51 +0100 |
commit | c3cb92d1ab1b4d449dde9e234a1854c85d093ecc (patch) | |
tree | 5f2f880b11afa03239623f8f54a9f953552226ea /youtube_dl | |
parent | aa5590fa078927c2409b3f5301ae94d462d5d910 (diff) |
[CeskaTelevize] fix python3 support @dstftw
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/ceskatelevize.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/ceskatelevize.py b/youtube_dl/extractor/ceskatelevize.py index 8a36bd980..b1c683787 100644 --- a/youtube_dl/extractor/ceskatelevize.py +++ b/youtube_dl/extractor/ceskatelevize.py @@ -3,7 +3,6 @@ from __future__ import unicode_literals import re import json -from urllib import unquote from .common import InfoExtractor from ..utils import ( @@ -70,7 +69,7 @@ class CeskaTelevizeIE(InfoExtractor): 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) |