Add test for RSS enclosure prioritization

This commit is contained in:
Bastian de Groot 2018-04-28 13:08:16 +02:00
parent 199025c7d2
commit 31749dd024

View File

@ -190,6 +190,27 @@ class GenericIE(InfoExtractor):
'title': 'pdv_maddow_netcast_m4v-02-27-2015-201624', 'title': 'pdv_maddow_netcast_m4v-02-27-2015-201624',
} }
}, },
# RSS feed with enclosures and unsupported rss urls
{
'url': 'http://www.hellointernet.fm/podcast?format=rss',
'info_dict': {
'id': 'http://www.hellointernet.fm/podcast?format=rss',
'description': 'CGP Grey and Brady Haran talk about YouTube, life, work, whatever.',
'title': 'Hello Internet',
},
'playlist': [{
'info_dict': {
'id': '101',
'ext': 'mp3',
'upload_date': '20180426',
'title': u' \u200d \u200d ',
},
}],
'playlist_mincount': 99,
'params': {
'skip_download': True,
},
},
# SMIL from http://videolectures.net/promogram_igor_mekjavic_eng # SMIL from http://videolectures.net/promogram_igor_mekjavic_eng
{ {
'url': 'http://videolectures.net/promogram_igor_mekjavic_eng/video/1/smil.xml', 'url': 'http://videolectures.net/promogram_igor_mekjavic_eng/video/1/smil.xml',