mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 03:57:06 -05:00 
			
		
		
		
	[downloader/fragment] Encode filename of fragment being removed (closes #15020)
This commit is contained in:
		@@ -112,7 +112,7 @@ class FragmentFD(FileDownloader):
 | 
			
		||||
            if self.__do_ytdl_file(ctx):
 | 
			
		||||
                self._write_ytdl_file(ctx)
 | 
			
		||||
            if not self.params.get('keep_fragments', False):
 | 
			
		||||
                os.remove(ctx['fragment_filename_sanitized'])
 | 
			
		||||
                os.remove(encodeFilename(ctx['fragment_filename_sanitized']))
 | 
			
		||||
            del ctx['fragment_filename_sanitized']
 | 
			
		||||
 | 
			
		||||
    def _prepare_frag_download(self, ctx):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user