Keep old channel_title property as a fallback.

This commit is contained in:
J.D. Purcell 2017-10-23 12:08:41 -04:00
parent ac37c0ac55
commit f5b3bc52ec

View File

@ -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('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'],