diff options
author | J.D. Purcell <jdpurcell@gmail.com> | 2017-10-23 12:12:50 -0400 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2017-10-23 23:12:50 +0700 |
commit | cdd1ce92c46167c12514a061609308112e79ea84 (patch) | |
tree | f120fd697c6c1bd35cad1055ef14c875fac51bd3 | |
parent | 55c727a547a3873396c75b62d55393da79ce0fc9 (diff) |
[twitch:clips] Fix title extraction
-rw-r--r-- | youtube_dl/extractor/twitch.py | 2 |
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'], |