Extract main_image from HTML img tags instead of constructing from
car_no pattern. Handles timestamp-based filenames (e.g., 1767925381_0.jpg)
that differ from the default cmcar_0.jpg pattern.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
When __carPhoto URL pattern returns 404 (e.g., timestamp-based filenames
like 1767161441_0.jpg instead of cmcar_0.jpg), fall back to fetching
actual image URLs from /common/ajax/AutoDB.html?mode=view&key={car_key}
XML response (strPhotos field).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Backend: Include car_name in skipped response
- Frontend: Display skip details (car name + reason like "Already imported (ID: 123)")
- Frontend: Display error details with error message
- Add import process description during loading
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Detect GoLogin redirect response (126 bytes) when session cookies expire,
automatically re-login and retry the search once.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Added complex_code parameter to search_cars method
- Added /api/carmodoo/complexes endpoint with list of Korean auto complexes
- Added Complex dropdown as first filter in admin Cars search
- Passes complex_code to Carmodoo API as c_danji parameter
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The Carmodoo HTML response sometimes contains invalid EUC-KR byte
sequences (e.g., 0xA4 followed by ASCII 'F'). This caused the decoder
to fall back to Latin-1, corrupting all Korean text.
Fixed by using errors='replace' which preserves Korean text while
replacing only the invalid byte sequences with replacement characters.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
lxml was re-encoding already decoded UTF-8 HTML based on charset="euc-kr"
meta tag. Fixed by removing charset meta tags and explicitly setting
UTF-8 encoding in HTMLParser.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Added 'cho': '' parameter to enable searching both domestic and import cars
- This fixes Toyota Prius (and other import cars) not appearing in search results
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Document staging vs production DB separation (autonet_staging)
- Add staging sync and deployment commands to CLAUDE.md
- Update changelog with 2025-01-03 changes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Frontend: Next.js 14 with TypeScript
- Backend: FastAPI with SQLAlchemy
- Agent: Carmodoo sync agent
- Deployment: Docker Compose based staging/production setup
- Scripts: Automated deployment with rollback support
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>