X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=inline;f=youtube_dl%2Fextractor%2Fstanfordoc.py;h=cce65fb1014d3595670707d8009832ea37f448dc;hb=7c5329e6f4152b48c5476b1b9b8ab931caa10331;hp=5feb4ff83f9c4d2def9196666bde4fcc2a3a9101;hpb=119b3caa4630ad89d2805c10d84ef6347a7374f1;p=youtube-dl
diff --git a/youtube_dl/extractor/stanfordoc.py b/youtube_dl/extractor/stanfordoc.py
index 5feb4ff83..cce65fb10 100644
--- a/youtube_dl/extractor/stanfordoc.py
+++ b/youtube_dl/extractor/stanfordoc.py
@@ -66,7 +66,7 @@ class StanfordOpenClassroomIE(InfoExtractor):
r'(?s)([^<]+)',
coursepage, 'description', fatal=False)
- links = orderedSet(re.findall('', coursepage))
+ links = orderedSet(re.findall(r'', coursepage))
info['entries'] = [self.url_result(
'http://openclassroom.stanford.edu/MainFolder/%s' % unescapeHTML(l)
) for l in links]
@@ -82,9 +82,9 @@ class StanfordOpenClassroomIE(InfoExtractor):
rootURL = 'http://openclassroom.stanford.edu/MainFolder/HomePage.php'
rootpage = self._download_webpage(rootURL, info['id'],
- errnote='Unable to download course info page')
+ errnote='Unable to download course info page')
- links = orderedSet(re.findall('', rootpage))
+ links = orderedSet(re.findall(r'', rootpage))
info['entries'] = [self.url_result(
'http://openclassroom.stanford.edu/MainFolder/%s' % unescapeHTML(l)
) for l in links]