Update url

This commit is contained in:
UrloMythus
2026-03-06 17:02:23 +01:00 Unverified
parent 7ce317ce59
commit 8c5e8f8e1f
+3 -1
View File
@@ -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: