mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 03:47:07 -05:00 
			
		
		
		
	Set resume_len to 0 if download is restarted
This commit is contained in:
		@@ -85,6 +85,7 @@ class HttpFD(FileDownloader):
 | 
			
		||||
                        else:
 | 
			
		||||
                            # The length does not match, we start the download over
 | 
			
		||||
                            self.report_unable_to_resume()
 | 
			
		||||
                            resume_len = 0
 | 
			
		||||
                            open_mode = 'wb'
 | 
			
		||||
                            break
 | 
			
		||||
            # Retry
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user