From: Sergey M․ Date: Mon, 17 Aug 2015 14:16:43 +0000 (+0600) Subject: [twitch] Allow untitled videos (Closes #6585) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=369c12e038c3183a0e725a929dd9bed4ec35fa11;p=youtube-dl [twitch] Allow untitled videos (Closes #6585) --- 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'],