projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf7aa63
)
[lrt] Modernize
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 27 Oct 2014 01:27:49 +0000
(
02:27
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 27 Oct 2014 01:27:49 +0000
(
02:27
+0100)
youtube_dl/extractor/lrt.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/lrt.py
b/youtube_dl/extractor/lrt.py
index db5df40789c5167e1062364a860fa9bc1d369218..d72d470aa8dbb532f80f44796354dabd3de92261 100644
(file)
--- 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')