aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-10-28 15:51:15 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-10-28 15:51:15 +0100
commit01d663bca35e138cb95f5d156bcf396dcae54f73 (patch)
tree63ebdbeb1026c2cc9e248d53be504923de145e4f
parent03df7baa6a8dc5cab41f5ce2f0be8cd439a6195d (diff)
[auengine] Simplify
-rw-r--r--youtube_dl/extractor/auengine.py3
1 files changed, 1 insertions, 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'<title>(?P<title>.+?)</title>', webpage, 'title')