projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55c727a
)
[twitch:clips] Fix title extraction
author
J.D. Purcell
<jdpurcell@gmail.com>
Mon, 23 Oct 2017 16:12:50 +0000
(12:12 -0400)
committer
Sergey M
<dstftw@gmail.com>
Mon, 23 Oct 2017 16:12:50 +0000
(23:12 +0700)
youtube_dl/extractor/twitch.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/twitch.py
b/youtube_dl/extractor/twitch.py
index c926c99a999bb88388c77d859e54c8973417b9db..fefcd28078f6c69058366fbb7b8f9e616508fbb6 100644
(file)
--- a/
youtube_dl/extractor/twitch.py
+++ b/
youtube_dl/extractor/twitch.py
@@
-609,7
+609,7
@@
class TwitchClipsIE(InfoExtractor):
r'(?s)clipInfo\s*=\s*({.+?});', webpage, 'clip info'),
video_id, transform_source=js_to_json)
- title = clip.get('channel_title') or self._og_search_title(webpage)
+ title = clip.get('
title') or clip.get('
channel_title') or self._og_search_title(webpage)
formats = [{
'url': option['source'],