diff options
author | dst <[email protected]> | 2013-12-04 20:34:47 +0700 |
---|---|---|
committer | dst <[email protected]> | 2013-12-04 20:34:47 +0700 |
commit | c0ade33e167d1668c4aa8a6684e7083e6c71dd6e (patch) | |
tree | 6fb736fd89b8d187d7de74159deb396c6ec4f042 /youtube_dl/extractor/stanfordoc.py | |
parent | 87968574293ef87b98f51cf0d7c0958b9f496a7a (diff) | |
download | youtube-dl-c0ade33e167d1668c4aa8a6684e7083e6c71dd6e.tar.gz youtube-dl-c0ade33e167d1668c4aa8a6684e7083e6c71dd6e.zip |
Correct some extractor _VALID_URL regexes
Diffstat (limited to 'youtube_dl/extractor/stanfordoc.py')
-rw-r--r-- | youtube_dl/extractor/stanfordoc.py | 2 |
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', |