mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-20 23:21:06 +02:00
refactor: implement cross-country proxy rotation for Reddit and TikTok scrapers, enhancing resilience against IP blocks and improving search query handling
This commit is contained in:
parent
c0ebb62fb2
commit
8a5d37a4db
10 changed files with 213 additions and 22 deletions
|
|
@ -373,6 +373,14 @@ TURNSTILE_SECRET_KEY=
|
|||
# (cyclic); server-side-rotating gateways ignore it.
|
||||
# PROXY_URL=http://user:pass@host:port
|
||||
# PROXY_URLS=http://user:pass@host1:port,http://user:pass@host2:port
|
||||
#
|
||||
# NOTE (dataimpulse): its default *worldwide* pool (a PROXY_URL with no
|
||||
# "__cr.<country>" suffix) hands out exit IPs some targets hard-block — Reddit
|
||||
# 403s every one, TikTok withholds its ttwid cookie — so those scrapers
|
||||
# pin/rotate exit countries on their own (no config needed). Other scrapers
|
||||
# (e.g. Google SERP) deliberately prefer the worldwide pool, so leave PROXY_URL
|
||||
# unpinned unless you have a reason; pin a country only for your whole install by
|
||||
# adding a "__cr.<country>" suffix above.
|
||||
|
||||
# --- Google Search scraper: scale / warm sticky-IP pool -----------------------
|
||||
# Per-process render concurrency AND the throughput lever: ceiling =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue