This commit is contained in:
2026-05-04 18:04:45 +00:00
parent b05f389e49
commit 4eadc32f03
12 changed files with 10709 additions and 2496 deletions

View File

@@ -2,6 +2,7 @@ import requests
from dotenv import load_dotenv
import os
import time
import logging
import threading
from urllib import parse
@@ -90,7 +91,7 @@ async def post_authenticated_url(req: dict) -> list | dict:
if method == 'GET':
res: requests.Response = requests.get(url=full_url, headers=headers)
# print(res.status_code, res.text)
# logging.warning(res.status_code, res.text)
return res.json()
elif method == 'POST':
res: requests.Response = requests.post(url=full_url, headers=headers)