mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-25 23:33:55 +01:00
[auengine] Simplify
This commit is contained in:
parent
03df7baa6a
commit
01d663bca3
@ -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 = self._match_id(url)
|
||||||
video_id = mobj.group('id')
|
|
||||||
|
|
||||||
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')
|
||||||
|
Loading…
Reference in New Issue
Block a user