[fix_newlogic_ok]
This commit is contained in:
parent
b95bc80482
commit
a248231bb1
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -318,7 +318,7 @@ def sync_verificacion_ktip(ioc: str, tipo_ioc: str) -> bool:
|
|||
if data.get('Zone') == 'Green':
|
||||
if tipo_ioc in tipos_ktip['url']:
|
||||
resp_temp = requests.get(ioc, verify=False)
|
||||
if resp_temp.status_code == 200:
|
||||
if resp_temp.status_code == 200 or resp_temp.status_code == 403:
|
||||
content = resp_temp.text.lower()
|
||||
if 'html' in content:
|
||||
return False
|
||||
|
|
Loading…
Add table
Reference in a new issue