1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-16 06:34:31 +01:00

[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 @@ 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'))