[rbmaradio] check formats availability(closes #16585)

This commit is contained in:
Remita Amine 2018-05-30 17:08:32 +01:00
parent e425710554
commit 4fd1437d9d

View file

@ -54,6 +54,7 @@ def _real_extract(self, url):
'abr': abr, 'abr': abr,
'vcodec': 'none', 'vcodec': 'none',
} for abr in (96, 128, 256)] } for abr in (96, 128, 256)]
self._check_formats(formats, episode_id)
description = clean_html(episode.get('longTeaser')) description = clean_html(episode.get('longTeaser'))
thumbnail = self._proto_relative_url(episode.get('imageURL', {}).get('landscape')) thumbnail = self._proto_relative_url(episode.get('imageURL', {}).get('landscape'))