fix(keenetic): preserve URL scheme/ports and IPv4 polling

Use web_url scheme and host:port for API base URL instead of
forcing https. Force IPv4 in aiohttp to avoid IPv6 hangs on
KeenDNS. Sync canonical 24-router list with Russian names.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Андрей Бобырев
2026-05-22 00:52:11 +03:00
parent de99b60910
commit 746ecfc343
5 changed files with 232 additions and 87 deletions

View File

@@ -36,7 +36,7 @@ async def main():
for d in devices:
r = await check(d)
print(f"{d['name']:22} {r}")
await asyncio.sleep(0.3)
await asyncio.sleep(1)
if __name__ == "__main__":