X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fauengine.py;h=1c765532a00d9274c2531277cc1ad81b75053dfd;hb=baa708036c64e2dce419b5f0648ee6b84ce2132e;hp=926d733c549ff9010ea13a8faedf5425f6ef0547;hpb=ad0a75db6bad844ac47f174ab84d85a31e543734;p=youtube-dl diff --git a/youtube_dl/extractor/auengine.py b/youtube_dl/extractor/auengine.py index 926d733c5..1c765532a 100644 --- a/youtube_dl/extractor/auengine.py +++ b/youtube_dl/extractor/auengine.py @@ -24,8 +24,7 @@ class AUEngineIE(InfoExtractor): } def _real_extract(self, url): - mobj = re.match(self._VALID_URL, url) - video_id = mobj.group('id') + video_id = self._match_id(url) webpage = self._download_webpage(url, video_id) title = self._html_search_regex(r'(?P<title>.+?)', webpage, 'title') @@ -51,5 +50,5 @@ class AUEngineIE(InfoExtractor): 'url': video_url, 'title': title, 'thumbnail': thumbnail, - 'referer': 'http://www.auengine.com/flowplayer/flowplayer.commercial-3.2.14.swf', + 'http_referer': 'http://www.auengine.com/flowplayer/flowplayer.commercial-3.2.14.swf', }