From: Philipp Hagemeister Date: Mon, 27 Oct 2014 01:27:49 +0000 (+0100) Subject: [lrt] Modernize X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=8112d4b28429a4319bc3d9d111b69fa62e514de3;p=youtube-dl [lrt] Modernize --- diff --git a/youtube_dl/extractor/lrt.py b/youtube_dl/extractor/lrt.py index db5df4078..d72d470aa 100644 --- a/youtube_dl/extractor/lrt.py +++ b/youtube_dl/extractor/lrt.py @@ -32,9 +32,7 @@ class LRTIE(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 = remove_end(self._og_search_title(webpage), ' - LRT')