feat: /api/v2/analiza/* endpoints - sport analytics backend
This commit is contained in:
+4
-1
@@ -1,8 +1,11 @@
|
||||
#!/usr/bin/env python3
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv('/opt/rinet-gpu/.env.master')
|
||||
# auto-added by patch_scrapers_with_dotenv.sh
|
||||
import requests, re, time, hashlib, psycopg2, os, glob
|
||||
from datetime import datetime
|
||||
|
||||
DSN = "host=10.10.0.2 port=6432 dbname=rinet_v3 user=rinet password=R1net2026!SecureDB#v7"
|
||||
DSN = f"host=10.10.0.2 port=6432 dbname=rinet_v3 user=rinet password={os.environ['DB_PASSWORD']}"
|
||||
LOG = "/opt/pgz-sport/logs/scrape_online.log"
|
||||
TG_TOKEN = "8535797835:AAFItT-92jzZ9NWFafLxn0dLa1_n2s-JE5Y"
|
||||
TG_CHAT = "7969491558"
|
||||
|
||||
Reference in New Issue
Block a user