diff options
author | Philipp Hagemeister <[email protected]> | 2014-10-27 02:27:49 +0100 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-10-27 02:27:49 +0100 |
commit | 8112d4b28429a4319bc3d9d111b69fa62e514de3 (patch) | |
tree | 2294619b5d18f35e4d43d525f31fba5c9cf7d65b | |
parent | bf7aa6301b30156d3badbd67a5a12bdb500a8366 (diff) | |
download | youtube-dl-8112d4b28429a4319bc3d9d111b69fa62e514de3.tar.gz youtube-dl-8112d4b28429a4319bc3d9d111b69fa62e514de3.zip |
[lrt] Modernize
-rw-r--r-- | youtube_dl/extractor/lrt.py | 4 |
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') |