mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-18 07:01:45 +00:00
parent
d14b920c33
commit
b0f636beb4
@ -38,7 +38,7 @@ class SponsorBlockPP(FFmpegPostProcessor):
|
||||
return [], info
|
||||
|
||||
self.to_screen('Fetching SponsorBlock segments')
|
||||
info['sponsorblock_chapters'] = self._get_sponsor_chapters(info, info['duration'])
|
||||
info['sponsorblock_chapters'] = self._get_sponsor_chapters(info, info.get('duration'))
|
||||
return [], info
|
||||
|
||||
def _get_sponsor_chapters(self, info, duration):
|
||||
|
Loading…
Reference in New Issue
Block a user