diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-10-01 22:45:10 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-10-01 22:45:10 +0600 |
commit | 6edaa0e25b880be5d1ea513d9d907c91e18a8347 (patch) | |
tree | d323f71e08a0fb901bc096c98f26373859da0065 /youtube_dl/extractor/videolecturesnet.py | |
parent | fb97809e64a145768346345ff2b5e5539880c014 (diff) |
[videolecturesnet] Add playlist test
Diffstat (limited to 'youtube_dl/extractor/videolecturesnet.py')
-rw-r--r-- | youtube_dl/extractor/videolecturesnet.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/youtube_dl/extractor/videolecturesnet.py b/youtube_dl/extractor/videolecturesnet.py index 704165406..113a2289b 100644 --- a/youtube_dl/extractor/videolecturesnet.py +++ b/youtube_dl/extractor/videolecturesnet.py @@ -17,7 +17,7 @@ class VideoLecturesNetIE(InfoExtractor): _VALID_URL = r'http://(?:www\.)?videolectures\.net/(?P<id>[^/#?]+)/*(?:[#?].*)?$' IE_NAME = 'videolectures.net' - _TEST = { + _TESTS = [{ 'url': 'http://videolectures.net/promogram_igor_mekjavic_eng/', 'info_dict': { 'id': 'promogram_igor_mekjavic_eng', @@ -28,7 +28,15 @@ class VideoLecturesNetIE(InfoExtractor): 'duration': 565, 'thumbnail': 're:http://.*\.jpg', }, - } + }, { + 'url': 'http://videolectures.net/deeplearning2015_montreal/', + 'info_dict': { + 'id': 'deeplearning2015_montreal', + 'title': 'Deep Learning Summer School, Montreal 2015', + 'description': 'md5:90121a40cc6926df1bf04dcd8563ed3b', + }, + 'playlist_count': 30, + }] def _real_extract(self, url): video_id = self._match_id(url) |