feat: add local server fallback to AI analyzer, include_paths support, config_path in reports
- ai_analyzer: OpenRouter primary + localhost:8001/:8002 as dev fallback - crawler: support include_paths for targeted crawling - __main__: pass config_path through report pipeline - tests: 266 tests passing
This commit is contained in:
parent
989f5a933f
commit
013cf794bc
13 changed files with 479 additions and 60 deletions
|
|
@ -148,7 +148,7 @@ def compare_snapshots(baseline_pages: dict, current_pages: dict, cfg: dict) -> d
|
|||
|
||||
# Per-type link diff
|
||||
link_diff: dict = {}
|
||||
for ltype in ("a", "script", "iframe", "link_rel", "form"):
|
||||
for ltype in ("a", "script", "iframe", "link_rel", "form", "audio", "video"):
|
||||
old_links = old.get("links", {}).get(ltype, [])
|
||||
new_links = new.get("links", {}).get(ltype, [])
|
||||
ld = diff_link_set(old_links, new_links)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue