abuse: строгий free_count (prompt и completion = 0) — 90 панелей вместо 131; sync_panel_items держит тексты панелей в актуальном виде; push_top отправляет топ находок в бота
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

This commit is contained in:
Vlad Gothbreach
2026-10-27 14:59:01 +03:00
parent d16994d45c
commit e26bd41a84
7 changed files with 124 additions and 6 deletions

View File

@@ -26,8 +26,11 @@ SECRET = re.compile(r"\b(sk-|pk-|ek_live_|ghp_|xoxb-)[A-Za-z0-9_\-]{12,}")
def main():
bad = []
only = set(sys.argv[1].split(",")) if len(sys.argv) > 1 else None
with Camoufox(headless=True, geoip=False, humanize=True) as b:
for route, name in SHOTS:
if only and name not in only:
continue
p = b.new_page(viewport={"width": 1500, "height": 1350})
p.goto(BASE + route, wait_until="domcontentloaded", timeout=90000)
n = 0