main
Bob Mottram 2021-12-17 12:57:08 +00:00
parent 9fa69bcc81
commit 66447bcbf1
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ def downloadImageAnyMimeType(session, url: str, timeoutSec: int, debug: bool):
contentType = None contentType = None
result = None result = None
sessionHeaders = { sessionHeaders = {
'Accept': 'image/x-icon; image/png' 'Accept': 'image/x-icon, image/png'
} }
try: try:
result = session.get(url, headers=sessionHeaders, timeout=timeoutSec) result = session.get(url, headers=sessionHeaders, timeout=timeoutSec)