mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-22 23:31:12 +02:00
feat(crawl): add CRAWL_HEADED_XVFB_ENABLED flag
Single switch promising an Xvfb display so the stealth browser can run headful (TikTok's profile feed is empty to headless Chromium). Defaults FALSE.
This commit is contained in:
parent
44966315f1
commit
6784503414
1 changed files with 6 additions and 0 deletions
|
|
@ -1147,6 +1147,12 @@ class Config:
|
||||||
# round-trip => default FALSE to honor the "no speed regression" bar; flip on
|
# round-trip => default FALSE to honor the "no speed regression" bar; flip on
|
||||||
# when leak-safety outweighs the marginal latency.
|
# when leak-safety outweighs the marginal latency.
|
||||||
CRAWL_DNS_OVER_HTTPS = os.getenv("CRAWL_DNS_OVER_HTTPS", "FALSE").upper() == "TRUE"
|
CRAWL_DNS_OVER_HTTPS = os.getenv("CRAWL_DNS_OVER_HTTPS", "FALSE").upper() == "TRUE"
|
||||||
|
# Promises an Xvfb display so the browser can run headful (TikTok's profile
|
||||||
|
# feed is empty to headless Chromium). Entrypoint starts Xvfb when TRUE;
|
||||||
|
# FALSE keeps every browser headless.
|
||||||
|
CRAWL_HEADED_XVFB_ENABLED = (
|
||||||
|
os.getenv("CRAWL_HEADED_XVFB_ENABLED", "FALSE").upper() == "TRUE"
|
||||||
|
)
|
||||||
|
|
||||||
# Litellm TTS Configuration
|
# Litellm TTS Configuration
|
||||||
TTS_SERVICE = os.getenv("TTS_SERVICE")
|
TTS_SERVICE = os.getenv("TTS_SERVICE")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue