commit cdd1ce92c46167c12514a061609308112e79ea84
parent 55c727a547a3873396c75b62d55393da79ce0fc9
Author: J.D. Purcell <jdpurcell@gmail.com>
Date: Mon, 23 Oct 2017 12:12:50 -0400
[twitch:clips] Fix title extraction
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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'],