mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 05:37:07 -05:00 
			
		
		
		
	[downloader/http] Report unable to resume
This commit is contained in:
		@@ -66,6 +66,7 @@ class HttpFD(FileDownloader):
 | 
			
		||||
                    if content_range_m and resume_len == int(content_range_m.group(1)):
 | 
			
		||||
                        break
 | 
			
		||||
                    # Content-Range is invalid - wipe the file and do entire redownload
 | 
			
		||||
                    self.report_unable_to_resume()
 | 
			
		||||
                    resume_len = 0
 | 
			
		||||
                    open_mode = 'wb'
 | 
			
		||||
                break
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user