Skip to content

A feature-rich command-line audio/video downloader

[twitch] Allow untitled videos (Closes #6585)

Sergey M․369c12e038c3
diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py
index a2b6a35aa3..0521257e5a 100644
--- a/youtube_dl/extractor/twitch.py
+++ b/youtube_dl/extractor/twitch.py
@@ -132,7 +132,7 @@ class TwitchItemBaseIE(TwitchBaseIE):
def _extract_info(self, info):
return {
'id': info['_id'],
- 'title': info['title'],
+ 'title': info.get('title') or 'Untitled Broadcast',
'description': info['description'],
'duration': info['length'],
'thumbnail': info['preview'],