X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=youtube_dl%2Fextractor%2Fplaytvak.py;h=1e8096a259ad5568d87b96bd566f646ae641862f;hb=de3c7fe0d42fd6027b99ab87ee5b4a4b4054daf6;hp=278fdc1aab228212eab2d74e6dd6bc3358be2dbd;hpb=008687427725b8d857c44d75f358059c2533539a;p=youtube-dl diff --git a/youtube_dl/extractor/playtvak.py b/youtube_dl/extractor/playtvak.py index 278fdc1aa..1e8096a25 100644 --- a/youtube_dl/extractor/playtvak.py +++ b/youtube_dl/extractor/playtvak.py @@ -4,7 +4,7 @@ from __future__ import unicode_literals from .common import InfoExtractor from ..compat import ( compat_urlparse, - compat_urllib_parse, + compat_urllib_parse_urlencode, ) from ..utils import ( ExtractorError, @@ -106,7 +106,7 @@ class PlaytvakIE(InfoExtractor): }) info_url = compat_urlparse.urlunparse( - parsed_url._replace(query = compat_urllib_parse.urlencode(qs, True))) + parsed_url._replace(query=compat_urllib_parse_urlencode(qs, True))) json_info = self._download_json( info_url, video_id,