feat: /api/v2/analiza/* endpoints - sport analytics backend
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv('/opt/rinet-gpu/.env.master')
|
||||
# auto-added by patch_scrapers_with_dotenv.sh
|
||||
"""HBS Hrvatski boćarski savez scraper - prava bota za PGŽ klubove."""
|
||||
import os, re, sys, time, json, html, traceback, datetime as dt
|
||||
import urllib.request, urllib.error
|
||||
from urllib.parse import urljoin
|
||||
import psycopg2
|
||||
|
||||
DB = dict(host="10.10.0.2", port=6432, port=5432, dbname="rinet_v3", user="rinet", password="R1net2026!SecureDB#v7")
|
||||
DB = dict(host="10.10.0.2", port=6432, port=5432, dbname="rinet_v3", user="rinet", password=os.environ["DB_PASSWORD"])
|
||||
BASE = "https://hrvatski-bocarski-savez.hr"
|
||||
UA = "Mozilla/5.0 (compatible; PGZSportBot/1.0; +https://api.rinet.one/sport)"
|
||||
DELAY = 1.2
|
||||
|
||||
Reference in New Issue
Block a user