🚀 Xiaozhu FIXED Scraper
📍 Target: 上海 徐汇区
🌍 Geolocation: 31.188, 121.4367
📅 Dates: 2025-12-24 → 2026-01-22 (29 days)
💰 Budget: 4000-5000 RMB/month

🌍 Setting geolocation to Shanghai Xujiahui...
✅ Geolocation set to 31.188, 121.4367

🔍 Strategy 1: Trying direct Shanghai URL...
   Trying: https://minsu.xiaozhu.com/shanghai
   ❌ 404
   Trying: https://minsu.xiaozhu.com/city/shanghai
   ❌ 404
   Trying: https://minsu.xiaozhu.com/search/shanghai
   ❌ 404
   Trying: https://minsu.xiaozhu.com/shanghai/徐汇区
   ❌ 404

🔍 Strategy 2: Homepage search with geolocation...
📸 ./xiaozhu_homepage_1766282837074.png
   Detected city: 北京

⌨️  Using search...
   Found: input[type="text"]
📸 ./xiaozhu_search_typed_1766282840134.png

👆 Looking for Shanghai suggestions...
   ✅ Clicked Shanghai suggestion
📸 ./xiaozhu_after_suggestion_1766282844255.png

📍 Current URL: https://minsu.xiaozhu.com/
   Shanghai content: ✅
   Beijing content: ✅ No

📊 Extracting listings...

🔄 Scroll 1/10...
   Found 0 items, 0 new, 0 total
🔄 Scroll 2/10...
   Found 0 items, 0 new, 0 total
🔄 Scroll 3/10...
   Found 0 items, 0 new, 0 total
   No new listings for 3 scrolls, stopping...
📸 ./xiaozhu_final_1766282848443.png

✅ Total extracted: 0 listings

❌ No listings found!
💾 Saved HTML to xiaozhu_fixed_page.html

📋 Page diagnosis:
   URL: https://minsu.xiaozhu.com/
   Title: 小猪-住得更好，花得更少
   Has Shanghai: ✅
   Has Beijing: ✅
   Preview: 
  上海入12.21离12.22推荐排序价格范围位置区域筛选条件体育公寓，近徐家汇淮海路六院八院1号9号15号12号线地铁南站华东理工上师大高层阳光空气安静洁净单间单间·1床·宜住2人立即确认有停车位可做饭可带宠物¥132/晚¥165 已减33元早鸟特惠天天特惠胸科医院旁/黛园/独立卫浴，有窗户，可烧饭整租·1室·2床·宜住2人立即确认可做饭¥170/晚¥178 已减8元早鸟特惠天天特惠近中山医...
