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