mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[twitch] Allow untitled videos (Closes #6585)
This commit is contained in:
parent
0fa5795b85
commit
369c12e038
|
@ -132,7 +132,7 @@ class TwitchItemBaseIE(TwitchBaseIE):
|
||||||
def _extract_info(self, info):
|
def _extract_info(self, info):
|
||||||
return {
|
return {
|
||||||
'id': info['_id'],
|
'id': info['_id'],
|
||||||
'title': info['title'],
|
'title': info.get('title') or 'Untitled Broadcast',
|
||||||
'description': info['description'],
|
'description': info['description'],
|
||||||
'duration': info['length'],
|
'duration': info['length'],
|
||||||
'thumbnail': info['preview'],
|
'thumbnail': info['preview'],
|
||||||
|
|
Loading…
Reference in a new issue