From cdd1ce92c46167c12514a061609308112e79ea84 Mon Sep 17 00:00:00 2001 From: "J.D. Purcell" Date: Mon, 23 Oct 2017 12:12:50 -0400 Subject: [PATCH] [twitch:clips] Fix title extraction --- youtube_dl/extractor/twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py index c926c99a9..fefcd2807 100644 --- a/youtube_dl/extractor/twitch.py +++ b/youtube_dl/extractor/twitch.py @@ -609,7 +609,7 @@ def _real_extract(self, url): 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'],