aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/stanfordoc.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-12-04 19:56:05 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-12-04 19:56:05 +0100
commit29030c0a4c2f4dded5a310add940aae0791f9d73 (patch)
treea3c5784c9446fd288ae394b340ec93d9d4dadc4b /youtube_dl/extractor/stanfordoc.py
parent671c0f151d5a7bb5c32a59f483a8e330f1f9a15b (diff)
parentc0ade33e167d1668c4aa8a6684e7083e6c71dd6e (diff)
Merge remote-tracking branch 'dstftw/correct-valid-urls'
Diffstat (limited to 'youtube_dl/extractor/stanfordoc.py')
-rw-r--r--youtube_dl/extractor/stanfordoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/stanfordoc.py b/youtube_dl/extractor/stanfordoc.py
index b27838bf9..d54e01a12 100644
--- a/youtube_dl/extractor/stanfordoc.py
+++ b/youtube_dl/extractor/stanfordoc.py
@@ -18,7 +18,7 @@ from ..utils import (
class StanfordOpenClassroomIE(InfoExtractor):
IE_NAME = u'stanfordoc'
IE_DESC = u'Stanford Open ClassRoom'
- _VALID_URL = r'^(?:https?://)?openclassroom.stanford.edu(?P<path>/?|(/MainFolder/(?:HomePage|CoursePage|VideoPage)\.php([?]course=(?P<course>[^&]+)(&video=(?P<video>[^&]+))?(&.*)?)?))$'
+ _VALID_URL = r'^(?:https?://)?openclassroom\.stanford\.edu(?P<path>/?|(/MainFolder/(?:HomePage|CoursePage|VideoPage)\.php([?]course=(?P<course>[^&]+)(&video=(?P<video>[^&]+))?(&.*)?)?))$'
_TEST = {
u'url': u'http://openclassroom.stanford.edu/MainFolder/VideoPage.php?course=PracticalUnix&video=intro-environment&speed=100',
u'file': u'PracticalUnix_intro-environment.mp4',