aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorJ.D. Purcell <jdpurcell@gmail.com>2017-10-23 12:12:50 -0400
committerSergey M <dstftw@gmail.com>2017-10-23 23:12:50 +0700
commitcdd1ce92c46167c12514a061609308112e79ea84 (patch)
treef120fd697c6c1bd35cad1055ef14c875fac51bd3 /youtube_dl
parent55c727a547a3873396c75b62d55393da79ce0fc9 (diff)
[twitch:clips] Fix title extraction
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/twitch.py2
1 files changed, 1 insertions, 1 deletions
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 @@ 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'],