diff --git a/Src/Utilities/update_config.py b/Src/Utilities/update_config.py index 229d41b..890169f 100644 --- a/Src/Utilities/update_config.py +++ b/Src/Utilities/update_config.py @@ -1,4 +1,4 @@ -link = 'https://raw.githubusercontent.com/Arrowar/SC_Domains/main/domains.json' +link = 'https://raw.githubusercontent.com/AstraeLabs/Domains/main/domains.json' import json import os import logging @@ -47,8 +47,10 @@ async def update_all_sites(client): for item in sites: domain = await fetch_domain(client,item) write_config(domain,item) + return True except Exception as e: logger.info('Failed to update domains: ',e) + return False async def test_update_site(): from curl_cffi.requests import AsyncSession async with AsyncSession() as client: