[wrzuta] Fallback to mp3 on unknown media type (#4156)

This commit is contained in:
Naglis Jonaitis 2014-11-11 16:47:54 +02:00
parent 60526d6bcb
commit bbcc21efd1

View File

@ -49,7 +49,7 @@ def _real_extract(self, url):
quality = qualities(['SD', 'MQ', 'HQ', 'HD']) quality = qualities(['SD', 'MQ', 'HQ', 'HD'])
audio_table = {'flv': 'mp3', 'webm': 'ogg'} audio_table = {'flv': 'mp3', 'webm': 'ogg', '???': 'mp3'}
embedpage = self._download_json('http://www.wrzuta.pl/npp/embed/%s/%s' % (uploader, video_id), video_id) embedpage = self._download_json('http://www.wrzuta.pl/npp/embed/%s/%s' % (uploader, video_id), video_id)