projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:rg3/youtube-dl
[youtube-dl]
/
youtube_dl
/
extractor
/
lrt.py
diff --git
a/youtube_dl/extractor/lrt.py
b/youtube_dl/extractor/lrt.py
index fca0bfef0726b472e484d7be2fd890fb5ce50f8c..d72d470aa8dbb532f80f44796354dabd3de92261 100644
(file)
--- a/
youtube_dl/extractor/lrt.py
+++ b/
youtube_dl/extractor/lrt.py
@@
-22,7
+22,7
@@
class LRTIE(InfoExtractor):
'id': '54391',
'ext': 'mp4',
'title': 'Septynios Kauno dienos',
'id': '54391',
'ext': 'mp4',
'title': 'Septynios Kauno dienos',
- 'description': '
Kauno miesto ir apskrities naujienos
',
+ 'description': '
md5:24d84534c7dc76581e59f5689462411a
',
'duration': 1783,
},
'params': {
'duration': 1783,
},
'params': {
@@
-32,9
+32,7
@@
class LRTIE(InfoExtractor):
}
def _real_extract(self, url):
}
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')
webpage = self._download_webpage(url, video_id)
title = remove_end(self._og_search_title(webpage), ' - LRT')