mirror of https://gitlab.com/bashrc2/epicyon
Redirect warning
parent
302e685a35
commit
d305bff9bd
|
@ -109,6 +109,8 @@ def _get_json_request(session, url: str, domain_full: str, session_headers: {},
|
||||||
print('WARN: get_json Not Found url: ' + url)
|
print('WARN: get_json Not Found url: ' + url)
|
||||||
elif result.status_code == 410:
|
elif result.status_code == 410:
|
||||||
print('WARN: get_json no longer available url: ' + url)
|
print('WARN: get_json no longer available url: ' + url)
|
||||||
|
elif result.status_code == 303:
|
||||||
|
print('WARN: get_json redirect not permitted: ' + url)
|
||||||
else:
|
else:
|
||||||
session_headers2 = session_headers.copy()
|
session_headers2 = session_headers.copy()
|
||||||
if session_headers2.get('Authorization'):
|
if session_headers2.get('Authorization'):
|
||||||
|
|
Loading…
Reference in New Issue