From 8112d4b28429a4319bc3d9d111b69fa62e514de3 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Mon, 27 Oct 2014 02:27:49 +0100 Subject: [PATCH] [lrt] Modernize --- youtube_dl/extractor/lrt.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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')