[fix_newlogic_ok]

This commit is contained in:
Felipe Luis Quezada Valenzuela 2025-03-03 17:11:49 -03:00
parent b95bc80482
commit a248231bb1

View file

@ -318,7 +318,7 @@ def sync_verificacion_ktip(ioc: str, tipo_ioc: str) -> bool:
if data.get('Zone') == 'Green': if data.get('Zone') == 'Green':
if tipo_ioc in tipos_ktip['url']: if tipo_ioc in tipos_ktip['url']:
resp_temp = requests.get(ioc, verify=False) 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() content = resp_temp.text.lower()
if 'html' in content: if 'html' in content:
return False return False