X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fauengine.py;h=1c765532a00d9274c2531277cc1ad81b75053dfd;hb=28e614de5ccfd846fe4dafe37d4834ef3488b403;hp=94caad0cf3ce212695646bf9bcdb7ad05a3dbbd6;hpb=b4461b6ebe1276e98bc7566cc6a706ed26d3488b;p=youtube-dl.git diff --git a/youtube_dl/extractor/auengine.py b/youtube_dl/extractor/auengine.py index 94caad0cf..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,4 +50,5 @@ class AUEngineIE(InfoExtractor): 'url': video_url, 'title': title, 'thumbnail': thumbnail, + 'http_referer': 'http://www.auengine.com/flowplayer/flowplayer.commercial-3.2.14.swf', }