projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[streamango] Make title optional
[youtube-dl]
/
youtube_dl
/
extractor
/
muenchentv.py
diff --git
a/youtube_dl/extractor/muenchentv.py
b/youtube_dl/extractor/muenchentv.py
index b4e8ad17e9003940e5753349e30b4857c4c8aa6a..2cc2bf229b3bee21fa5b79e40af2a666cd4ccea1 100644
(file)
--- a/
youtube_dl/extractor/muenchentv.py
+++ b/
youtube_dl/extractor/muenchentv.py
@@
-22,7
+22,7
@@
class MuenchenTVIE(InfoExtractor):
'ext': 'mp4',
'title': 're:^münchen.tv-Livestream [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$',
'is_live': True,
'ext': 'mp4',
'title': 're:^münchen.tv-Livestream [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$',
'is_live': True,
- 'thumbnail': 're:^https?://.*\.jpg$'
+ 'thumbnail':
r
're:^https?://.*\.jpg$'
},
'params': {
'skip_download': True,
},
'params': {
'skip_download': True,
@@
-36,7
+36,7
@@
class MuenchenTVIE(InfoExtractor):
title = self._live_title(self._og_search_title(webpage))
data_js = self._search_regex(
title = self._live_title(self._og_search_title(webpage))
data_js = self._search_regex(
- r'(?s)\nplaylist:\s*(\[.*?}\]),
related:
',
+ r'(?s)\nplaylist:\s*(\[.*?}\]),',
webpage, 'playlist configuration')
data_json = js_to_json(data_js)
data = json.loads(data_json)[0]
webpage, 'playlist configuration')
data_json = js_to_json(data_js)
data = json.loads(data_json)[0]