Лимит запросов по IP, мелкие правки

This commit is contained in:
2025-11-11 19:36:48 +03:00
parent 4241a20926
commit 4407afcc18
3 changed files with 76 additions and 4 deletions
+2 -1
View File
@@ -27,9 +27,10 @@
from db import read
import requests
from json import loads
import asyncio
# Synchronous database read
CONFIG = read()
CONFIG = asyncio.run(read())
url_prefix = CONFIG['user_api_url']
def call(api_url, data, pre=True, fix=True):