A feature-rich command-line audio/video downloader
[shahid] don't fail on missing info
remitamine3c07a729a652
diff --git a/youtube_dl/extractor/shahid.py b/youtube_dl/extractor/shahid.pyindex 9846c052c7..04de866f46 100644--- a/youtube_dl/extractor/shahid.py+++ b/youtube_dl/extractor/shahid.py@@ -35,9 +35,9 @@ class ShahidIE(InfoExtractor):video_id)title = json_data['name']- thumbnail = json_data['image']- categories = json_data['genre']- description = json_data['description']+ thumbnail = json_data.get('image')+ categories = json_data.get('genre')+ description = json_data.get('description')player_json_data = self._download_json('https://shahid.mbc.net/arContent/getPlayerContent-param-.id-'+video_id+'.type-player.html',video_id