Files
archon/python
leex279 359e7eed70 enhance: improve URL resolution with debugging and robust fallback chain
Add comprehensive URL resolution logic to better handle edge cases where
original_url might not be retrieved properly:

- Add detailed logging of URL resolution process for debugging
- Implement robust fallback chain: original_url → real first_page_url → metadata.url → source:// fallback
- Avoid showing source://ID URLs unless absolutely necessary
- Log errors when falling back to source:// URLs for investigation

This should resolve cases where original_url exists in DB but isn't
being retrieved correctly by the transformation logic.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 23:40:37 +02:00
..