HouseSigma에서 매물 데이터를 수집하여 Hauscout SQLite DB에 저장하는 skill.
/Users/kendrick/projects/hauscout/Users/kendrick/projects/hauscout/data/hauscout.db/Users/kendrick/projects/hauscout/scripts/collect.tscd /Users/kendrick/projects/hauscout && npx tsx scripts/collect.ts
cd /Users/kendrick/projects/hauscout && npx tsx scripts/collect.ts --url "<housesigma_url>"
cd /Users/kendrick/projects/hauscout && npx tsx scripts/collect.ts --profile <id>
cd /Users/kendrick/projects/hauscout && npx tsx scripts/collect.ts --headed
Playwright 스크립트 대신 Clawdbot 브라우저로 직접 수집할 때:
HouseSigma 상세 페이지의 구조:
태그 (Unit X - Street - Municipality - Community) 태그의 $ X,XXX 패턴/ 쌍 (Tax, Property Type, Maintenance, etc.)/ 패턴 (Bedrooms, Bathrooms, etc.)프로필 추가:
cd /Users/kendrick/projects/hauscout
sqlite3 data/hauscout.db "INSERT INTO search_profiles (name, center_lat, center_lng, radius_km, property_types, price_min, price_max, beds_min, beds_max, baths_min, baths_max, is_active) VALUES ('이름', lat, lng, radius, '[\"Condo Apartment\"]', 0, 800000, 2, 3, 1, 2, 1);"
현재 프로필 확인:
sqlite3 data/hauscout.db "SELECT * FROM search_profiles;"
수집 후 대시보드에 반영하려면:
cd /Users/kendrick/projects/hauscout
git add data/hauscout.db
git commit -m "data: daily collection $(date +%Y-%m-%d)"
git push
Vercel 배포 시 자동으로 최신 데이터가 반영됩니다.
Clawdbot cron으로 매일 오전 9시에 자동 수집:
共 1 个版本