[academicearth] Support playlists (Closes #1976)
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 17 Dec 2013 01:41:34 +0000 (02:41 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 17 Dec 2013 01:41:34 +0000 (02:41 +0100)
youtube_dl/extractor/academicearth.py

index 5045e7332a8833984af5d4a74e626b93f520cff6..c450c30ca173a288f632785069faaadc204d3061 100644 (file)
@@ -9,7 +9,7 @@ from ..utils import (
 
 
 class AcademicEarthCourseIE(InfoExtractor):
-    _VALID_URL = r'^https?://(?:www\.)?academicearth\.org/courses/(?P<id>[^?#/]+)'
+    _VALID_URL = r'^https?://(?:www\.)?academicearth\.org/(?:courses|playlists)/(?P<id>[^?#/]+)'
     IE_NAME = u'AcademicEarth:Course'
 
     def _real_extract(self, url):