дарк-форумы + cookie-проход CF + opt_in радара в обходе
Some checks failed
ci / test (3.10) (push) Has been cancelled
ci / test (3.11) (push) Has been cancelled
ci / test (3.12) (push) Has been cancelled

- omni/sources_dark.py: cracked.st, nulledbb, forum.tuts4you — реально отдают темы без логина
- tools/cf_cookies.py: Camoufox снимает cookies с JS-челленджей в data/cookies.json (вне git)
- config: cookies.json подхватывается автоматически
- feeds: include_contains матчится по полному href (showthread.php?tid= не резался по path)
- sources_abuse/abuse_sources: A(extra=...) + tuts4you на html_listing (/topic/)
- sources: _gen_sources() = китайские + дарк наборы
- README: ключи/радар/китайцы/дарк
This commit is contained in:
ENI
2026-10-26 23:39:47 +03:00
parent 2320acf3c5
commit 2b9f4e1d88
8 changed files with 239 additions and 18 deletions

View File

@@ -69,6 +69,15 @@ def load():
except Exception:
pass
CONFIG = cfg
# cookies, снятые браузером (tools/cf_cookies.py) — файл вне git
ck_file = DATA / "cookies.json"
if ck_file.exists():
try:
extra = json.loads(ck_file.read_text(encoding="utf-8"))
if isinstance(extra, dict):
cfg["cookies"] = {**extra, **(cfg.get("cookies") or {})}
except Exception:
pass
raw = os.environ.get("OMNI_COOKIES") or ""
if raw:
try: