mirror of https://gitlab.com/bashrc2/epicyon
Extra http code
parent
717c2c9c58
commit
a79d2b191d
|
@ -108,6 +108,8 @@ def _getJsonRequest(session, url: str, domainFull: str, sessionHeaders: {},
|
||||||
print('WARN: getJson Forbidden url: ' + url)
|
print('WARN: getJson Forbidden url: ' + url)
|
||||||
elif result.status_code == 404:
|
elif result.status_code == 404:
|
||||||
print('WARN: getJson Not Found url: ' + url)
|
print('WARN: getJson Not Found url: ' + url)
|
||||||
|
elif result.status_code == 410:
|
||||||
|
print('WARN: getJson no longer available url: ' + url)
|
||||||
else:
|
else:
|
||||||
print('WARN: getJson url: ' + url +
|
print('WARN: getJson url: ' + url +
|
||||||
' failed with error code ' +
|
' failed with error code ' +
|
||||||
|
|
Loading…
Reference in New Issue