Browse Source

[auengine] Simplify

Philipp Hagemeister 11 years ago
parent
commit
01d663bca3
1 changed files with 1 additions and 2 deletions
  1. 1 2
      youtube_dl/extractor/auengine.py

+ 1 - 2
youtube_dl/extractor/auengine.py

@@ -24,8 +24,7 @@ class AUEngineIE(InfoExtractor):
     }
     }
 
 
     def _real_extract(self, url):
     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)
         webpage = self._download_webpage(url, video_id)
         title = self._html_search_regex(r'<title>(?P<title>.+?)</title>', webpage, 'title')
         title = self._html_search_regex(r'<title>(?P<title>.+?)</title>', webpage, 'title')