aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-08-17 20:16:43 +0600
committerSergey M․ <dstftw@gmail.com>2015-08-17 20:16:43 +0600
commit369c12e038c3183a0e725a929dd9bed4ec35fa11 (patch)
tree967c8118b7ad5c28e53646dd695f3593a69857d2
parent0fa5795b85f8d97bf67f10e39a79b49656be58db (diff)
[twitch] Allow untitled videos (Closes #6585)
-rw-r--r--youtube_dl/extractor/twitch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py
index a2b6a35aa..0521257e5 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'],