- Store product images locally with hierarchy: /images/products/<state>/<store>/<brand>/<product>/ - Add /img/* proxy endpoint for on-demand resizing via Sharp - Implement per-product image checking to skip existing downloads - Fix pathToUrl() to correctly generate /images/... URLs - Add frontend getImageUrl() helper with preset sizes (thumb, medium, large) - Update all product pages to use optimized image URLs - Add stealth session support for Dutchie GraphQL crawls - Include test scripts for crawl and image verification 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
477 B
SQL
13 lines
477 B
SQL
-- Add timezone column to proxies table for geo-consistent fingerprinting
|
|
-- This allows matching Accept-Language and other headers to proxy location
|
|
|
|
ALTER TABLE proxies
|
|
ADD COLUMN IF NOT EXISTS timezone VARCHAR(50);
|
|
|
|
-- Add timezone to failed_proxies as well
|
|
ALTER TABLE failed_proxies
|
|
ADD COLUMN IF NOT EXISTS timezone VARCHAR(50);
|
|
|
|
-- Comment explaining usage
|
|
COMMENT ON COLUMN proxies.timezone IS 'IANA timezone (e.g., America/Phoenix) for geo-consistent fingerprinting';
|