From: remitamine Date: Fri, 18 Sep 2015 21:09:33 +0000 (+0100) Subject: [shahid] fix api request url X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=1d67c9664099c261b7752cb56773e423d410fae6;p=youtube-dl [shahid] fix api request url --- diff --git a/youtube_dl/extractor/shahid.py b/youtube_dl/extractor/shahid.py index 6e9903d5e..3fd545373 100644 --- a/youtube_dl/extractor/shahid.py +++ b/youtube_dl/extractor/shahid.py @@ -81,7 +81,7 @@ class ShahidIE(InfoExtractor): compat_urllib_parse.urlencode({ 'apiKey': 'sh@hid0nlin3', 'hash': 'b2wMCTHpSmyxGqQjJFOycRmLSex+BpTK/ooxy6vHaqs=', - }).encode('utf-8')), + })), video_id, 'Downloading video JSON') video = video[api_vars['playerType']]