mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-11 17:29:14 +02:00
1.9 KiB
1.9 KiB
Task Board: Catalog Image Fix
🚀 Current Focus
- Investigate Comparator Price Extraction (User reported false prices)
- Fix Catalog Images (Generic/Missing icons)
- [/] Amazon Login Wall Fix (Redirected by User)
📋 Master Plan
- Analyze
verify_extraction_logic.py,ai_service.py,ai_schema.py,tracking_scraper_service.py. - Proposal Phase: Vision Priority accepted.
- Implementation Phase:
- Update
ai_schema.py. - Fix
scheduler_service.py.
- Update
- Verification Phase: Verified with
verify_vision_priority.py. - Catalog Retrieval Fix:
- Reproduce failure (Confirmed Browserless issue).
- Fix
cataloguemate_scraper.pywith HTTP fallback. - Cleanup debug files.
- Catalog Image Fix:
- Analyze page HTML for correct image selectors (Found Thumbor URL).
- Check PDF availability (Browser Task).
- Refine Scraper Logic:
- Update
cataloguemate_scraper.pyto grabsrcand prioritize Thumbor. - Update
routers/catalogues.pyto clean up bad images.
- Update
- Cleanup Bad Data:
- Run cleanup endpoint.
- Verify fix with new scrape.
- [/] Comparator Price Fix:
- Reproduce "False Price" issue with script.
- Audit
improved_search_service.pyextraction logic (Lowest Price vs AI). - Implement robust price validation/filtering.
- Verify fix.
📝 Progress Log
- 2025-12-22: Vision Priority implemented and verified.
- 2025-12-22: Fixed Catalog Retrieval using HTTP fallback.
- 2025-12-22: Investigating generic icon issue. Found images are served via Thumbor.
- 2025-12-22: FIXED: Scraper now targets Thumbor images. Wiped bad catalogs.
- 2025-12-24: User prioritized Amazon Login Wall fix.
- 2025-12-24: Reproduction script
test_amazon_scraper.pypatched to use local browser. Verifying issue.