Extra types

main
Bob Mottram 2021-12-17 12:58:58 +00:00
parent 66447bcbf1
commit c5bb57a424
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
result = None
sessionHeaders = {
'Accept': 'image/x-icon, image/png'
'Accept': 'image/x-icon, image/png, image/webp, image/jpeg, image/gif'
}
try:
result = session.get(url, headers=sessionHeaders, timeout=timeoutSec)