abuse: строгий free_count (prompt и completion = 0) — 90 панелей вместо 131; sync_panel_items держит тексты панелей в актуальном виде; push_top отправляет топ находок в бота
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user