Giter Site home page Giter Site logo

sean185 / hdb-status-checker Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 56 KB

Helps to scrape HDB units information from the pages, meant for the IT savvy.

License: GNU General Public License v3.0

JavaScript 79.78% HTML 16.27% CSS 3.96%
singapore hdb chrome-extension javascript scraper

hdb-status-checker's Introduction

HDB-Status-Checker

Helps to scrape HDB units information from the pages, meant for the IT savvy youths from the era of "anything also data science"

Setup / Installation / HELP ME WTF!?

  1. Clone this repo.
  2. Go to chrome://extensions/
  3. Click "Load unpacked" (as of 65.0.3325) or "Load Unpacked Extension" for earlier versions. StackOverflow explains.
  4. DONE!!

Usage

  1. Getting details of a block's units (like price, sqm.):
    1. Navigate to the block's page.
    2. Click Get button in the "Scrape Current Available Units" section.
    3. Copy the nicely formatted CSV text out.
    4. Apply two decades worth of excel skills on data.
  2. Getting availability status of all blocks in a cluster:
    1. Navigate to the page that displays the blocks in a project, e.g this page.
    2. Click on the extension icon.
    3. Click Get... button in the "Scrape All Units in Cluster" section.
    4. The blocks should appear. Like magic it should.
    5. Click Scrape button, and a new window should open up, loading the tabs.
    6. Do NOT close the popup (the mini tab that opened when you clicked the extension icon).
    7. Be patient as the data populates into the textarea in the popup.
    8. Apply two decades worth of excel skills on data.

Credits

  1. HDB
    • For providing for generations of Singaporeans.
    • For having a site that has vital information hidden in tooltips...
    • For inspiring my desire for data export functionalities...
  2. Extensionizr
    • For being an awesome boilerplate for Chrome Extensions.
    • Mainly used it for educational purposes, and the neat default icon (TODO: Change it)
  3. Chrome Extensions
    • For having an intruiging extension structure that makes writing extensions feel like playing chess.
    • For having actually pretty decent documentation (once you get past the tangle of where does what go)
  4. StackOverflow
    • Duh.

hdb-status-checker's People

Contributors

sean185 avatar

Watchers

 avatar  avatar

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.