mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	@@ -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):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user