GithubHelp home page GithubHelp logo

dicksonc96 / propertyguru-scraper Goto Github PK

View Code? Open in Web Editor NEW
23.0 4.0 6.0 9.66 MB

A python scraper to scrape information on property sale or rent in Malaysia from PropertyGuru.com. Strictly for educational purposes only.

License: MIT License

Python 100.00%
python scraper property market-data real-estate investment-calculator education

propertyguru-scraper's Introduction

PropertyGuru Property Listing Scraper And Rental-Installment BreakEven Analysis

Interactive Dashboard

Condo Property Price in KL (updated monthly): https://datastudio.google.com/s/iDD1161H8RQ image

Column Description

  • Mean: Mean Price for Sale/Rent
  • CV: Coefficient of Variation of Sale/Rent Price
  • Median: Mean Price for Sale/Rent

Color Legend

  • Red: Sale list summary
  • Blue: Rental list summary
  • Green: Percentage breakeven (%)

Rental-Installment BreakEven Formula and Assumptions

  1. The degree of high-balling are assumed to be the same for both selling and renting prices scraped.
  2. Only those properties with both sale and rental listed will be selected.
  3. Default analysis will remove NaN entries and calculate break-even % as in (2) based on median prices.
  4. Gross Rental-Installment Break-even Rate are pre-calculated as:

RM404 monthly installment /RM100k selling price (90% loan, 3.5% IR, 30yrs)

Property List Scraper

  • A python scraper to scrape property price listed for sale or rent in Malaysia from PropertyGuru.com.
  • Currently supports state and property type filters only (ping me if you need more precise/personalized filters)
  • Strictly for educational purposes only.
  • Any suggestions/collabs are very much welcomed!
  • Property price datasets (sampled every first day of the month)

How to scrape myself?

  1. Download data-scraper-v2alpha.py (right-click and download).
  2. Install python and dependencies.
  3. Run the script with your parameters. (check -h for documentation)
  4. Enjoyy! P/S: Refer section below for the keywords

Query selection keywords (select one for each category):

Category Keywords
MARKET residential, commercial (not tested)
PROPERTY_TYPE all, bungalow (Bungalow / Villa), condo (Apartment / Condo / Service Residence), semid (Semi-Detached House), terrace (Terrace / Link House), land (Residential Land)
STATE johor, kedah, kelantan, melaka, ns, pahang, penang, perak, perlis, selangor, terengganu, sabah, sarawak, kl, labuan, putrajaya, other

Output Data Description

Column Type Remarks
PropertyName str
Type str Sale/Rent
Price float
Bedrooms str int or str (eg. Studio)
Bathrooms str int or str (eg. Studio)
Sqft int Lot size
Author str Person who uploaded the listing

propertyguru-scraper's People

Contributors

actions-user avatar dicksonc96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

propertyguru-scraper's Issues

Collaboration Inquiry

I'm impressed by your work and am interested in collaborating. Could we connect via LinkedIn or email to discuss further?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.