Skip to content

A feature-rich command-line audio/video downloader

[bbc] Add test for atricle with multiple videos embedded with playlist.sxml

Sergey M․b5d48cb1ef74
diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py
index 930637cd79..ffe2afa96f 100644
--- a/youtube_dl/extractor/bbc.py
+++ b/youtube_dl/extractor/bbc.py
@@ -608,6 +608,14 @@ class BBCIE(BBCCoUkIE):
# rtmp download
'skip_download': True,
}
+ }, {
+ # article with multiple videos embedded with playlist.sxml
+ 'url': 'http://www.bbc.com/sport/0/football/34475836',
+ 'info_dict': {
+ 'id': '34475836',
+ 'title': 'What Liverpool can expect from Klopp',
+ },
+ 'playlist_count': 3,
}, {
# single video with playlist URL from weather section
'url': 'http://www.bbc.com/weather/features/33601775',