projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fa5795
)
[twitch] Allow untitled videos (Closes #6585)
author
Sergey M․
<dstftw@gmail.com>
Mon, 17 Aug 2015 14:16:43 +0000
(20:16 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 17 Aug 2015 14:16:43 +0000
(20:16 +0600)
youtube_dl/extractor/twitch.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/twitch.py
b/youtube_dl/extractor/twitch.py
index a2b6a35aa3c89c9ff7c40c5c3385a285abc9a0e5..0521257e5a1f228fae1169969544125d936bbf34 100644
(file)
--- 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'],