1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-23 08:17:00 +00:00

[twitch] Allow untitled videos (Closes #6585)

This commit is contained in:
Sergey M․ 2015-08-17 20:16:43 +06:00
parent 0fa5795b85
commit 369c12e038

View file

@ -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'],