mirror of https://github.com/yt-dlp/yt-dlp.git
parent
d14b920c33
commit
b0f636beb4
|
@ -38,7 +38,7 @@ class SponsorBlockPP(FFmpegPostProcessor):
|
||||||
return [], info
|
return [], info
|
||||||
|
|
||||||
self.to_screen('Fetching SponsorBlock segments')
|
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
|
return [], info
|
||||||
|
|
||||||
def _get_sponsor_chapters(self, info, duration):
|
def _get_sponsor_chapters(self, info, duration):
|
||||||
|
|
Loading…
Reference in New Issue