commit 369c12e038c3183a0e725a929dd9bed4ec35fa11
parent 0fa5795b85f8d97bf67f10e39a79b49656be58db
Author: Sergey M․ <dstftw@gmail.com>
Date: Mon, 17 Aug 2015 20:16:43 +0600
[twitch] Allow untitled videos (Closes #6585)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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'],