https://github.com/dav009/sakura-house
better search for sakura-house.com 's properties
https://github.com/dav009/sakura-house
Last synced: 3 months ago
JSON representation
better search for sakura-house.com 's properties
- Host: GitHub
- URL: https://github.com/dav009/sakura-house
- Owner: dav009
- Created: 2016-10-15T05:28:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-18T10:32:43.000Z (over 8 years ago)
- Last Synced: 2025-02-06T03:32:14.829Z (4 months ago)
- Language: Python
- Size: 3 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sakura-House
So you are looking for a new place to live via [Sakura House](https://www.sakura-house.com).
Chances are you are:- New to Tokyo
- You are struggling to compare properties locations and prices,
- You ended up with lots of tabs (at least 3,4 tabs per property)This project lets you scrape the property data out of Sakura House given a starting renting day.
It also visualizes it on google maps.
# Installation
- `python3.4`
- `lxml`
- `pip install -r requirements.txt`# how to ?
## Scraping & Vissualizing
- create a `config.json` and place your `GOOGLE MAPS API KEY` : `{"GOOGLE_MAPS_API_KEY":"your key"}`
- `python3 sakura server`
- `http://localhost:5000` will visualize properties with availability by the current daye
- `http://localhost:5000/?date=2017/05/12` will visualize properties with availability by the given date- data will be saved at `static/sakura-DATE.json`
## Just Scraping
- `python3 sakura dump --output path-to/something/a.json --move_date 2016/10/21`
Note: This might take a while as the scraper pulls data from sakura-house. This is slow by default to prevent hitting the website too hard.