mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-26 11:55:20 +01: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