mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-24 23:41:10 +02:00
feat: add indeed per-job scrape rate config
This commit is contained in:
parent
05bfc6a10e
commit
e25d09c25e
1 changed files with 5 additions and 0 deletions
|
|
@ -736,6 +736,11 @@ class Config:
|
||||||
# Comments are the cheapest per-item TikTok data, matching the per-comment
|
# Comments are the cheapest per-item TikTok data, matching the per-comment
|
||||||
# market (and YouTube's comment meter).
|
# market (and YouTube's comment meter).
|
||||||
TIKTOK_MICROS_PER_COMMENT = int(os.getenv("TIKTOK_MICROS_PER_COMMENT", "1500"))
|
TIKTOK_MICROS_PER_COMMENT = int(os.getenv("TIKTOK_MICROS_PER_COMMENT", "1500"))
|
||||||
|
# Warmed-browser listings put Indeed on par with the other browser-driven
|
||||||
|
# scrapers (Reddit, Instagram) rather than the cheaper API-backed meters.
|
||||||
|
INDEED_SCRAPE_MICROS_PER_JOB = int(
|
||||||
|
os.getenv("INDEED_SCRAPE_MICROS_PER_JOB", "3500")
|
||||||
|
)
|
||||||
# Retry an empty listing draw on a fresh rotating IP. Set to 1 for a static
|
# Retry an empty listing draw on a fresh rotating IP. Set to 1 for a static
|
||||||
# proxy, where every retry re-hits the same exit.
|
# proxy, where every retry re-hits the same exit.
|
||||||
TIKTOK_LISTING_MAX_ATTEMPTS = int(os.getenv("TIKTOK_LISTING_MAX_ATTEMPTS", "3"))
|
TIKTOK_LISTING_MAX_ATTEMPTS = int(os.getenv("TIKTOK_LISTING_MAX_ATTEMPTS", "3"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue