refactor: multi-site structure — one directory per target website
Each monitored website now lives in its own named subdirectory (bredelar.info/, jamulix.de/) with a dedicated config.yaml using absolute paths. This makes adding new sites trivial: mkdir newsite.de && cp bredelar.info/config.yaml newsite.de/ # adjust target + paths, then: python -m scanner --config newsite.de/config.yaml init Changes: - bredelar.info/: moved data/, reports/, logs/, config/ from project root - bredelar.info/config.yaml: new, with absolute paths - jamulix.de/: moved from ~/Python_Programs/jamulix_check/ - jamulix.de/config.yaml: updated paths to new location - .gitignore: replaced old data/*/reports/logs entries with per-site entries - config.yaml (root): removed (replaced by site-specific configs) - CLAUDE.md: updated CLI examples to --config <site>/config.yaml Usage: python -m scanner --config bredelar.info/config.yaml scan python -m scanner --config jamulix.de/config.yaml scan Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f964e41201
commit
ab882f912e
8 changed files with 349 additions and 137 deletions
13
.gitignore
vendored
13
.gitignore
vendored
|
|
@ -22,12 +22,13 @@ env/
|
|||
htmlcov/
|
||||
.tox/
|
||||
|
||||
# Runtime data (never commit — may contain crawled content or sensitive diffs)
|
||||
data/snapshots/
|
||||
data/baseline/
|
||||
data/pending/
|
||||
reports/
|
||||
logs/
|
||||
# Site-Daten (nie committen — enthalten Crawl-Daten und Snapshots)
|
||||
bredelar.info/data/
|
||||
bredelar.info/reports/
|
||||
bredelar.info/logs/
|
||||
jamulix.de/data/
|
||||
jamulix.de/reports/
|
||||
jamulix.de/logs/
|
||||
|
||||
# Editor
|
||||
.idea/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue