62 lines
2.3 KiB
Plaintext
62 lines
2.3 KiB
Plaintext
Metadata-Version: 2.1
|
|
Name: funda-scraper
|
|
Version: 0.0.2
|
|
Summary: FundaScaper provides you the easiest way to perform web scraping from Funda, the Dutch housing website.
|
|
Home-page: https://github.com/whchien/funda-scraper
|
|
Author: Will Chien
|
|
Author-email: locriginal@gmail.com
|
|
License: gpl-3.0
|
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
Classifier: Programming Language :: Python
|
|
Classifier: Programming Language :: Python :: 3
|
|
Classifier: Programming Language :: Python :: 3.6
|
|
Classifier: Programming Language :: Python :: 3.7
|
|
Classifier: Programming Language :: Python :: 3.8
|
|
Classifier: Programming Language :: Python :: 3.9
|
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
Requires-Python: >=3.7.0
|
|
Description-Content-Type: text/markdown
|
|
Requires-Dist: beautifulsoup4 (>=4.8)
|
|
Requires-Dist: requests (>=2)
|
|
Requires-Dist: diot (>=0.1.5)
|
|
Requires-Dist: PyYAML (>=5.0)
|
|
Requires-Dist: tqdm (>=4.42.0)
|
|
Requires-Dist: pandas (>=1.2)
|
|
Requires-Dist: lxml (>=4)
|
|
|
|
# FundaScraper
|
|
|
|
`FundaScaper` provides you the easiest way to perform web scraping from Funda, the Dutch housing website.
|
|
You can find listings from either house-buyer or rental market, and you can find historical data from the past few year.
|
|
|
|
|
|
## Install
|
|
```
|
|
pip install funda-scraper
|
|
```
|
|
|
|
## Quickstart
|
|
```
|
|
from funda_scraper import FundaScraper
|
|
|
|
scraper = FundaScraper(area="amsterdam", want_to="rent", find_past=False)
|
|
df = scraper.run()
|
|
df.head()
|
|
```
|
|
![image](https://i.imgur.com/mmN9mjQ.png)
|
|
|
|
You can pass several arguments to `FundaScraper()` for customized scraping:
|
|
- `area`: Specify the city or specific area you want to look for, eg. Amsterdam, Utrecht, Rotterdam, etc
|
|
- `want_to`: You can choose either `buy` or `rent`, which finds houses either for sale or for rent.
|
|
- `find_past`: Specify whether you want to check the historical data. The default is `False`.
|
|
- `n_pages`: Indicate how many pages you want to look up. The default is `1`.
|
|
|
|
|
|
## Advanced usage
|
|
|
|
You can check the [example notebook](https://colab.research.google.com/drive/1hNzJJRWxD59lrbeDpfY1OUpBz0NktmfW?usp=sharing) for further details.
|
|
Please give me a [star](https://github.com/whchien/funda-scraper) if you find this project helpful.
|
|
|
|
|