Automated daily backup: 2026-10-12 03:30

This commit is contained in:
gooner committed 2026-10-12 03:35:04 -04:00
1 parent 824cdedd7e
commit 2b31e92673
949 files changed
+381680 -1825

No files matched your search

+3 -1
View File
@@ -26,7 +26,9 @@ async def get_cloudflare_cookies(scraper, url):
try:
await scraper.resolve_page(page, url)
raw_cookies = await scraper.context.cookies()
return {c["name"]: c["value"] for c in raw_cookies}
# Filter out cf_clearance because curl_cffi's TLS fingerprint does not match
# the Playwright instance that solved the challenge, causing Cloudflare 403s.
return {c["name"]: c["value"] for c in raw_cookies if c["name"] != "cf_clearance"}
finally:
await page.close()