aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-10-01 23:10:36 +0600
committerSergey M․ <dstftw@gmail.com>2015-10-01 23:10:36 +0600
commit06c6efa9701d0527147875adf0caf437ffbb0397 (patch)
tree6303afd2f73da1f6df8343a3d75a61d218b29f1d
parente5851b963ab0872f27f2db1cff3c89548b6bf95e (diff)
[videolecturesnet] Add test video with broken direct format links
-rw-r--r--youtube_dl/extractor/videolecturesnet.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/youtube_dl/extractor/videolecturesnet.py b/youtube_dl/extractor/videolecturesnet.py
index 113a2289b..649ac9433 100644
--- a/youtube_dl/extractor/videolecturesnet.py
+++ b/youtube_dl/extractor/videolecturesnet.py
@@ -29,6 +29,21 @@ class VideoLecturesNetIE(InfoExtractor):
'thumbnail': 're:http://.*\.jpg',
},
}, {
+ # video with invalid direct format links (HTTP 403)
+ 'url': 'http://videolectures.net/russir2010_filippova_nlp/',
+ 'info_dict': {
+ 'id': 'russir2010_filippova_nlp',
+ 'ext': 'flv',
+ 'title': 'NLP at Google',
+ 'description': 'md5:fc7a6d9bf0302d7cc0e53f7ca23747b3',
+ 'duration': 5352,
+ 'thumbnail': 're:http://.*\.jpg',
+ },
+ 'params': {
+ # rtmp download
+ 'skip_download': True,
+ },
+ }, {
'url': 'http://videolectures.net/deeplearning2015_montreal/',
'info_dict': {
'id': 'deeplearning2015_montreal',