Explorar o código

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

Sergey M․ %!s(int64=10) %!d(string=hai) anos
pai
achega
b5d48cb1ef
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      youtube_dl/extractor/bbc.py

+ 8 - 0
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',