mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 09:01:43 +00:00
[twitch:clips] Fix title extraction
This commit is contained in:
parent
55c727a547
commit
cdd1ce92c4
@ -609,7 +609,7 @@ def _real_extract(self, url):
|
|||||||
r'(?s)clipInfo\s*=\s*({.+?});', webpage, 'clip info'),
|
r'(?s)clipInfo\s*=\s*({.+?});', webpage, 'clip info'),
|
||||||
video_id, transform_source=js_to_json)
|
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 = [{
|
formats = [{
|
||||||
'url': option['source'],
|
'url': option['source'],
|
||||||
|
Loading…
Reference in New Issue
Block a user