[videolectures] Fix _VALID_URL for test_no_duplicates to pass
authorSergey M․ <dstftw@gmail.com>
Sun, 9 Aug 2015 02:51:37 +0000 (08:51 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 9 Aug 2015 02:51:37 +0000 (08:51 +0600)
youtube_dl/extractor/videolecturesnet.py

index 24584dc80d976cea4a56b1fdc14a447def38e0b3..ef2da5632e00a282433228ab88bfd30a3cb7ec34 100644 (file)
@@ -12,7 +12,7 @@ from ..utils import (
 
 
 class VideoLecturesNetIE(InfoExtractor):
-    _VALID_URL = r'http://(?:www\.)?videolectures\.net/(?P<id>[^/#?]+)(?:/?[#?].*)?$'
+    _VALID_URL = r'http://(?:www\.)?videolectures\.net/(?P<id>[^/#?]+)/*(?:[#?].*)?$'
     IE_NAME = 'videolectures.net'
 
     _TEST = {