浏览代码

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

Sergey M․ 10 年之前
父节点
当前提交
b5d48cb1ef
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      youtube_dl/extractor/bbc.py

+ 8 - 0
youtube_dl/extractor/bbc.py

@@ -608,6 +608,14 @@ class BBCIE(BBCCoUkIE):
             # rtmp download
             # rtmp download
             'skip_download': True,
             '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
         # single video with playlist URL from weather section
         'url': 'http://www.bbc.com/weather/features/33601775',
         'url': 'http://www.bbc.com/weather/features/33601775',