feat: /api/v2/analiza/* endpoints - sport analytics backend
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv('/opt/rinet-gpu/.env.master')
|
||||
# auto-added by patch_scrapers_with_dotenv.sh
|
||||
"""D.2b — Better URL handling for HR Wikipedia + Wikidata."""
|
||||
import os
|
||||
import psycopg2, requests, re, json, time, urllib.parse
|
||||
|
||||
DB = dict(host="10.10.0.2", port=6432, dbname="rinet_v3",
|
||||
user="rinet", password="R1net2026!SecureDB#v7")
|
||||
user="rinet", password=os.environ["DB_PASSWORD"])
|
||||
UA = "RiNET-Civic/1.0 (https://rinet.one)"
|
||||
TIMEOUT = 20
|
||||
DELAY = 0.4
|
||||
|
||||
Reference in New Issue
Block a user