Files
archon/python/src/server
leex279 7f74aea476 fix: Discovery now respects given URL path and fix method signature mismatches
Two critical fixes for the automatic discovery feature:

1. Discovery Service path handling:
   - Changed from always using root domain (/) to respecting given URL path
   - e.g., for 'supabase.com/docs', now checks 'supabase.com/docs/robots.txt'
   - Previously incorrectly checked 'supabase.com/robots.txt'
   - Fixed all urljoin calls to use relative paths instead of absolute paths

2. Method signature mismatches:
   - Removed start_progress and end_progress parameters from crawl_batch_with_progress
   - Removed same parameters from crawl_recursive_with_progress
   - Fixed all calls to these methods to match the strategy implementations

These fixes ensure discovery works correctly for subdirectory URLs and prevents TypeError crashes during crawling.
2025-09-20 13:06:41 +02:00
..