24 lines
663 B
Plaintext
24 lines
663 B
Plaintext
# libnovel scraper — environment overrides
|
|
# Copy to .env and adjust values; do NOT commit this file with real secrets.
|
|
|
|
# Browserless API token (leave empty to disable auth)
|
|
BROWSERLESS_TOKEN=
|
|
|
|
# Number of concurrent browser sessions in Browserless
|
|
BROWSERLESS_CONCURRENT=10
|
|
|
|
# Queue depth before Browserless returns 429
|
|
BROWSERLESS_QUEUED=100
|
|
|
|
# Per-session timeout in ms
|
|
BROWSERLESS_TIMEOUT=60000
|
|
|
|
# Which Browserless strategy the scraper uses: content | scrape | cdp
|
|
BROWSERLESS_STRATEGY=content
|
|
|
|
# Chapter worker goroutines (0 = NumCPU inside the container)
|
|
SCRAPER_WORKERS=0
|
|
|
|
# Host path to mount as the static output directory
|
|
STATIC_ROOT=./static/books
|