Browse Source

[videolecturesnet] Add test video with broken direct format links

totalwebcasting
Sergey M․ 9 years ago
parent
commit
06c6efa970
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      youtube_dl/extractor/videolecturesnet.py

+ 15
- 0
youtube_dl/extractor/videolecturesnet.py View File

@ -28,6 +28,21 @@ class VideoLecturesNetIE(InfoExtractor):
'duration': 565, 'duration': 565,
'thumbnail': 're:http://.*\.jpg', '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/', 'url': 'http://videolectures.net/deeplearning2015_montreal/',
'info_dict': { 'info_dict': {


Loading…
Cancel
Save