mirror of
https://github.com/terorie/od-database-crawler.git
synced 2025-12-16 08:19:06 +00:00
Add log file support
This commit is contained in:
@@ -23,13 +23,20 @@ server:
|
||||
output:
|
||||
# Crawl statistics
|
||||
crawl_stats: 1s
|
||||
|
||||
# CPU/RAM/Job queue stats
|
||||
resource_stats: 10s
|
||||
|
||||
# More output? (Every listed dir)
|
||||
verbose: false
|
||||
|
||||
# Print HTTP errors (Super spammy)
|
||||
http: false
|
||||
|
||||
# Log file
|
||||
# If empty, no log file is created.
|
||||
log: crawler.log
|
||||
|
||||
# Crawler settings
|
||||
crawl:
|
||||
# Number of sites that can be processed at once
|
||||
@@ -49,4 +56,5 @@ crawl:
|
||||
timeout: 10s
|
||||
|
||||
# Crawler User-Agent
|
||||
# If empty, no User-Agent header is sent.
|
||||
user-agent: "Mozilla/5.0 (X11; od-database-crawler) Gecko/20100101 Firefox/52.0"
|
||||
|
||||
Reference in New Issue
Block a user