sg-property-scraper
بواسطة 5kbpers
Browser & Automationموجز
Search Singapore property rental and sale listings with flexible filters.
الوصف
ما الذي تفعله هذه المهارة
A Python script that scrapes Singapore property listings from PropertyGuru. Accepts filters for listing type, property type, bedroom count, price range, size, MRT station proximity, and room type. Returns structured JSON to stdout.
Combines MRT proximity filtering with Google Maps commute time calculations in a single scriptable query, which property portals do not expose natively.
متى تستخدمها
- Finding 2-bedroom condos for rent near specific MRT stations under a budget
- Checking sale prices for HDB flats within walking distance of a station
- Comparing commute times from rental candidates to a work address
- Filtering new condos by TOP year and minimum floor area
- Searching master or common room rentals with availability constraints
مثال على سير العمل
User asks: Find 2-bedroom condos for rent near Circle Line stations CC20 to CC24, max SGD 4000/month
- 1
Build JSON params with listingType rent, bedrooms 2, maxPrice 4000, propertyTypeGroup N, mrtStations CC20-CC24
- 2
Run: python3 scrape.py --json '{...}'
- 3
Parse the returned JSON array for price, address, MRT distance, and availability fields
- 4
Present top results to the user with direct listing links
JSON array of matching condos with prices, MRT walking distances, availability status, and agent details
المتطلبات
- GOOGLE_MAPS_API_KEY environment variable (optional, enables commute time fields)
التثبيت
clawhub install 5kbpers/sg-property-scraperشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.