X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Facademicearth.py;h=72f81d01a4976767033ea236eff4d8a5e2e43d33;hb=4f879a5be0813ae2c0d756ad52608125117fef58;hp=c450c30ca173a288f632785069faaadc204d3061;hpb=ec98946ef9ae19f5218ac66d72d61883709982ca;p=youtube-dl diff --git a/youtube_dl/extractor/academicearth.py b/youtube_dl/extractor/academicearth.py index c450c30ca..72f81d01a 100644 --- a/youtube_dl/extractor/academicearth.py +++ b/youtube_dl/extractor/academicearth.py @@ -1,16 +1,12 @@ -import datetime -import json +from __future__ import unicode_literals import re from .common import InfoExtractor -from ..utils import ( - remove_start, -) class AcademicEarthCourseIE(InfoExtractor): _VALID_URL = r'^https?://(?:www\.)?academicearth\.org/(?:courses|playlists)/(?P[^?#/]+)' - IE_NAME = u'AcademicEarth:Course' + IE_NAME = 'AcademicEarth:Course' def _real_extract(self, url): m = re.match(self._VALID_URL, url)