chore(salvage): bevara ocommittat arbete vid konsolidering 2026-09-25
CI (SIAX Cloud) / security (push) Successful in 12s
Security Scan (SIAX Cloud) / security (push) Successful in 14s
CI (SIAX Cloud) / quality (push) Failing after 45s
CI (SIAX Cloud) / integration (push) Successful in 1m59s
CI (SIAX Cloud) / security (pull_request) Successful in 20s
CI (SIAX Cloud) / quality (pull_request) Failing after 26s
CI (SIAX Cloud) / integration (pull_request) Successful in 39s
Security Scan (SIAX Cloud) / security (pull_request) Successful in 33s

Automatiskt commitat innan lokala dubbletter rensades.

Co-Authored-By: Claude Opus 5 <[email protected]>
This commit is contained in:
Claude Code
2026-09-25 01:55:43 +02:00
co-authored by Claude Opus 5
parent dc6aaa0e10
commit 148a32b577
12 changed files with 1362 additions and 2 deletions
+6
View File
@@ -23,6 +23,12 @@ import httpx
from curl_cffi import requests as curl_requests
import cloudscraper
# ── Master switch: scraping ONLY runs when explicitly enabled ──
SCRAPING_ENABLED = os.getenv("SCRAPING_ENABLED", "false").lower() in ("1", "true", "yes")
if not SCRAPING_ENABLED:
print("[SCRAPER] SCRAPING_ENABLED not set — engine v2 is in standby. Set SCRAPING_ENABLED=true to activate.")
sys.exit(0)
# ── Config from env ──
S3_ENDPOINT = os.getenv("S3_ENDPOINT", "https://s3.siax.io")
S3_ACCESS_KEY = os.getenv("S3_ACCESS_KEY", "")