From: Philipp Hagemeister Date: Tue, 28 Oct 2014 14:51:15 +0000 (+0100) Subject: [auengine] Simplify X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=01d663bca35e138cb95f5d156bcf396dcae54f73;p=youtube-dl [auengine] Simplify --- diff --git a/youtube_dl/extractor/auengine.py b/youtube_dl/extractor/auengine.py index 20bf12550..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')