aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/bbc.py
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2016-08-16 04:43:10 +0700
committerSergey M․ <[email protected]>2016-08-16 04:43:10 +0700
commit4f640f28901be8a3ce57e77ead404d751e36d208 (patch)
treef77376107a636f1ddd1fbe8d318a0e6b037bdbf1 /youtube_dl/extractor/bbc.py
parent254e64a20aa37a033cb200bc6f1aa9daf57eead8 (diff)
downloadyoutube-dl-4f640f28901be8a3ce57e77ead404d751e36d208.tar.gz
youtube-dl-4f640f28901be8a3ce57e77ead404d751e36d208.zip
[bbc:playlist] Fix tests
Diffstat (limited to 'youtube_dl/extractor/bbc.py')
-rw-r--r--youtube_dl/extractor/bbc.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py
index 16a97a76d..deb9cc1c0 100644
--- a/youtube_dl/extractor/bbc.py
+++ b/youtube_dl/extractor/bbc.py
@@ -1112,24 +1112,6 @@ class BBCCoUkIPlayerPlaylistIE(BBCCoUkPlaylistBaseIE):
'description': 'md5:683e901041b2fe9ba596f2ab04c4dbe7',
},
'playlist_mincount': 10,
- }, {
- # explicit page
- 'url': 'http://www.bbc.co.uk/programmes/b00mfl7n/clips?page=1',
- 'info_dict': {
- 'id': 'b00mfl7n',
- 'title': 'Bohemian Icons',
- 'description': 'md5:683e901041b2fe9ba596f2ab04c4dbe7',
- },
- 'playlist_mincount': 24,
- }, {
- # all pages
- 'url': 'http://www.bbc.co.uk/programmes/b00mfl7n/clips',
- 'info_dict': {
- 'id': 'b00mfl7n',
- 'title': 'Bohemian Icons',
- 'description': 'md5:683e901041b2fe9ba596f2ab04c4dbe7',
- },
- 'playlist_mincount': 142,
}]
def _extract_title_and_description(self, webpage):
@@ -1154,6 +1136,24 @@ class BBCCoUkPlaylistIE(BBCCoUkPlaylistBaseIE):
},
'playlist_mincount': 7,
}, {
+ # multipage playlist, explicit page
+ 'url': 'http://www.bbc.co.uk/programmes/b00mfl7n/clips?page=1',
+ 'info_dict': {
+ 'id': 'b00mfl7n',
+ 'title': 'Frozen Planet - Clips - BBC One',
+ 'description': 'md5:65dcbf591ae628dafe32aa6c4a4a0d8c',
+ },
+ 'playlist_mincount': 24,
+ }, {
+ # multipage playlist, all pages
+ 'url': 'http://www.bbc.co.uk/programmes/b00mfl7n/clips',
+ 'info_dict': {
+ 'id': 'b00mfl7n',
+ 'title': 'Frozen Planet - Clips - BBC One',
+ 'description': 'md5:65dcbf591ae628dafe32aa6c4a4a0d8c',
+ },
+ 'playlist_mincount': 142,
+ }, {
'url': 'http://www.bbc.co.uk/programmes/b05rcz9v/broadcasts/2016/06',
'only_matching': True,
}, {