From 01d663bca35e138cb95f5d156bcf396dcae54f73 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Tue, 28 Oct 2014 15:51:15 +0100 Subject: [PATCH] [auengine] Simplify --- youtube_dl/extractor/auengine.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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') -- 2.22.2