summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2015-09-19 03:28:57 +0600
committerSergey M. <dstftw@gmail.com>2015-09-19 03:28:57 +0600
commit749b09616de652b0f78958503175b91a626b1275 (patch)
tree965e70beb0c13b5c88e90055329f036ddffa345e
parentd1c694ea4ad75eb14e02e27ba6db5be95a598f21 (diff)
parent5de5ab89b4136e7f2191f50d8d69587b90e0c3bb (diff)
downloadyoutube-dl-749b09616de652b0f78958503175b91a626b1275.tar.gz
youtube-dl-749b09616de652b0f78958503175b91a626b1275.tar.xz
youtube-dl-749b09616de652b0f78958503175b91a626b1275.zip
Merge pull request #6889 from remitamine/shahid
[shahid] fix api request url and change test ext
-rw-r--r--youtube_dl/extractor/shahid.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/shahid.py b/youtube_dl/extractor/shahid.py
index 6e9903d5e..f76fb12c0 100644
--- a/youtube_dl/extractor/shahid.py
+++ b/youtube_dl/extractor/shahid.py
@@ -16,7 +16,7 @@ class ShahidIE(InfoExtractor):
         'url': 'https://shahid.mbc.net/ar/episode/90574/%D8%A7%D9%84%D9%85%D9%84%D9%83-%D8%B9%D8%A8%D8%AF%D8%A7%D9%84%D9%84%D9%87-%D8%A7%D9%84%D8%A5%D9%86%D8%B3%D8%A7%D9%86-%D8%A7%D9%84%D9%85%D9%88%D8%B3%D9%85-1-%D9%83%D9%84%D9%8A%D8%A8-3.html',
         'info_dict': {
             'id': '90574',
-            'ext': 'm3u8',
+            'ext': 'mp4',
             'title': 'الملك عبدالله الإنسان الموسم 1 كليب 3',
             'description': 'الفيلم الوثائقي - الملك عبد الله الإنسان',
             'duration': 2972,
@@ -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']]