Browse Source

[twitch] Allow untitled videos (Closes #6585)

Sergey M․ 10 years ago
parent
commit
369c12e038
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/twitch.py

+ 1 - 1
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'],