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=4a3d8bb8f267b588c59e2f16b208955a70d362d9;hpb=cf372f0778e82cdc181a6173909589e640ac29fb;p=youtube-dl
diff --git a/youtube_dl/extractor/stanfordoc.py b/youtube_dl/extractor/stanfordoc.py
index 4a3d8bb8f..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]
@@ -84,7 +84,7 @@ class StanfordOpenClassroomIE(InfoExtractor):
rootpage = self._download_webpage(rootURL, info['id'],
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]