logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 01d663bca35e138cb95f5d156bcf396dcae54f73
parent 03df7baa6a8dc5cab41f5ce2f0be8cd439a6195d
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Tue, 28 Oct 2014 15:51:15 +0100

[auengine] Simplify

Diffstat:

Myoutube_dl/extractor/auengine.py3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 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'<title>(?P<title>.+?)</title>', webpage, 'title')