[rbmaradio] check formats availability(closes #16585)

pull/16591/head
Remita Amine 2018-05-30 17:08:32 +01:00
parent e425710554
commit 4fd1437d9d
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ class RBMARadioIE(InfoExtractor):
'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'))