initial project commit

This commit is contained in:
georg.sinn-schirwitz
2025-08-29 15:07:58 +02:00
parent 38708e6d1d
commit 23a67d7fe1
31 changed files with 3433 additions and 0 deletions

32
config/settings.json Normal file
View File

@@ -0,0 +1,32 @@
{
"database": {
"mysql": {
"host": "192.168.88.37",
"user": "jobs",
"password": "jobdb",
"database": "jobs",
"port": 3306
}
},
"http": {
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0",
"request_timeout": 30,
"max_retries": 3,
"backoff_factor": 2,
"min_delay": 1,
"max_delay": 5
},
"paths": {
"cache_dir": "cache",
"logs_dir": "logs"
},
"scraper": {
"base_url": "https://{region}.craigslist.org/search/jjj?query={keyword}&sort=rel",
"config_dir": "config"
},
"users": [
{ "username": "anonymous", "is_admin": false, "password": "" },
{ "username": "admin", "is_admin": true, "password": "M11ffpgm." },
{ "username": "bobby", "is_admin": false, "password": "" }
]
}