[videolectures] Fix _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Sun, 2 Aug 2015 00:35:35 +0000 (06:35 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 2 Aug 2015 00:35:35 +0000 (06:35 +0600)
youtube_dl/extractor/videolecturesnet.py

index d6a7eb2033e58a92df09be6c042c91d6e932f8b7..24584dc80d976cea4a56b1fdc14a447def38e0b3 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 = {