From: Philipp Hagemeister Date: Thu, 20 Nov 2014 15:34:54 +0000 (+0100) Subject: [stanfordoc] Modernize X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=f42c190769869278cdd5f7ca62d2bd29e2a9d709;p=youtube-dl [stanfordoc] Modernize --- diff --git a/youtube_dl/extractor/stanfordoc.py b/youtube_dl/extractor/stanfordoc.py index 44c52c718..5feb4ff83 100644 --- a/youtube_dl/extractor/stanfordoc.py +++ b/youtube_dl/extractor/stanfordoc.py @@ -1,3 +1,5 @@ +from __future__ import unicode_literals + import re from .common import InfoExtractor @@ -9,24 +11,23 @@ from ..utils import ( class StanfordOpenClassroomIE(InfoExtractor): - IE_NAME = u'stanfordoc' - IE_DESC = u'Stanford Open ClassRoom' - _VALID_URL = r'^(?:https?://)?openclassroom\.stanford\.edu(?P/?|(/MainFolder/(?:HomePage|CoursePage|VideoPage)\.php([?]course=(?P[^&]+)(&video=(?P