Spaces:
Sleeping
Sleeping
Download core/config.py from OY-CODES/oy-stream-intelligence: direct link, hf CLI and curl.
- Browser
- Download file 516 Bytes
-
https://huggingface.co/spaces/OY-CODES/oy-stream-intelligence/resolve/main/core/config.py
- Command line
-
hf download hf://spaces/OY-CODES/oy-stream-intelligence/core/config.py
-
curl -L -o config.py https://huggingface.co/spaces/OY-CODES/oy-stream-intelligence/resolve/main/core/config.py
516 Bytes
| import os | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| class OYConfig: | |
| APP_NAME = "OY Stream Intelligence Suite" | |
| VERSION = "9.0.0" | |
| API_KEY = os.getenv("OY_MASTER_KEY", "oy_secret_2026") | |
| MAX_RETRIES = 3 | |
| REQUEST_TIMEOUT = 25 | |
| DOMAIN_CHECK_TIMEOUT = 8 | |
| MAX_CONCURRENT = 10 | |
| SEARCH_TIMEOUT = 30 | |
| CACHE_TTL = 300 # 5 minutes | |
| USER_AGENT_FALLBACK = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" | |
| settings = OYConfig() |