aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-10-27 02:27:49 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-10-27 02:27:49 +0100
commit8112d4b28429a4319bc3d9d111b69fa62e514de3 (patch)
tree2294619b5d18f35e4d43d525f31fba5c9cf7d65b
parentbf7aa6301b30156d3badbd67a5a12bdb500a8366 (diff)
[lrt] Modernize
-rw-r--r--youtube_dl/extractor/lrt.py4
1 files changed, 1 insertions, 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')