mirror of
				https://github.com/KevinMidboe/bulk-downloader-for-reddit.git
				synced 2025-10-29 17:40:15 +00:00 
			
		
		
		
	Fix imgur download malfunction caused by headers
This commit is contained in:
		| @@ -67,7 +67,7 @@ def getFile(fileDir,tempDir,imageURL,indent=0): | ||||
|  | ||||
|     opener = urllib.request.build_opener() | ||||
|     opener.addheaders = headers | ||||
|     urllib.request.install_opener(opener) | ||||
|     if not "imgur" in imageURL: urllib.request.install_opener(opener) | ||||
|  | ||||
|     if not (os.path.isfile(fileDir)): | ||||
|         for i in range(3): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user