changes
This commit is contained in:
23
consts.py
Normal file
23
consts.py
Normal file
@@ -0,0 +1,23 @@
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv()
|
||||
|
||||
|
||||
URL_RESULT_V2 = "https://fazziclay.com/api/v1/vstu_schedule_parser_v2/result_v2.json"
|
||||
URL_FACULTETS = "https://fazziclay.com/api/v1/vstu_schedule_parser_v2/facultets.json"
|
||||
|
||||
FILE_RESULT = "data/result.json"
|
||||
FILE_CACHE = "data/raw_cache.json"
|
||||
|
||||
GEMINI_MODEL="gemini-flash-lite-latest"
|
||||
|
||||
POLL_INTERVAL = int(os.environ.get("POLL_INTERVAL", 600))
|
||||
GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY")
|
||||
PROXY_URL = os.environ.get("PROXY_URL")
|
||||
|
||||
RABBITMQ_HOST = os.environ.get("RABBITMQ_HOST", "172.20.0.10")
|
||||
RABBITMQ_USER = os.environ.get("RABBITMQ_USER")
|
||||
RABBITMQ_PASS = os.environ.get("RABBITMQ_PASS")
|
||||
EXCHANGE_NAME = os.environ.get("EXCHANGE_NAME", "vstu_schedule_parser.schedule_parsed")
|
||||
|
||||
HTTP_PORT = int(os.environ.get("HTTP_PORT", 8080))
|
||||
Reference in New Issue
Block a user