[shahid] fix api request url
authorremitamine <remitamine@gmail.com>
Fri, 18 Sep 2015 21:09:33 +0000 (22:09 +0100)
committerremitamine <remitamine@gmail.com>
Fri, 18 Sep 2015 21:09:33 +0000 (22:09 +0100)
youtube_dl/extractor/shahid.py

index 6e9903d5edea3d377aad5554630dbaa1f52d2c6c..3fd545373ba24ad85ed34a6bfa61a036abb55e35 100644 (file)
@@ -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']]