mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-12 14:26:49 +01:00
parent
b6ce9bb038
commit
596379e260
@ -3058,9 +3058,9 @@ def process_manifest_format(f, proto, itag):
|
|||||||
def _extract_storyboard(self, player_responses, duration):
|
def _extract_storyboard(self, player_responses, duration):
|
||||||
spec = get_first(
|
spec = get_first(
|
||||||
player_responses, ('storyboards', 'playerStoryboardSpecRenderer', 'spec'), default='').split('|')[::-1]
|
player_responses, ('storyboards', 'playerStoryboardSpecRenderer', 'spec'), default='').split('|')[::-1]
|
||||||
if not spec:
|
base_url = url_or_none(urljoin('https://i.ytimg.com/', spec.pop() or None))
|
||||||
|
if not base_url:
|
||||||
return
|
return
|
||||||
base_url = spec.pop()
|
|
||||||
L = len(spec) - 1
|
L = len(spec) - 1
|
||||||
for i, args in enumerate(spec):
|
for i, args in enumerate(spec):
|
||||||
args = args.split('#')
|
args = args.split('#')
|
||||||
|
Loading…
Reference in New Issue
Block a user