https://github.com/venthur/immoscrapy
Scrape Immobilienscout24 data using Python
https://github.com/venthur/immoscrapy
cli immobilienscout24 python
Last synced: about 1 year ago
JSON representation
Scrape Immobilienscout24 data using Python
- Host: GitHub
- URL: https://github.com/venthur/immoscrapy
- Owner: venthur
- License: mit
- Created: 2022-02-15T08:56:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-14T01:57:24.000Z (over 1 year ago)
- Last Synced: 2025-04-24T01:42:15.717Z (about 1 year ago)
- Topics: cli, immobilienscout24, python
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 7
- Watchers: 5
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# immoscrapy
Scrape [Immobilienscout24][] data using Python. You can use it as a Python
library or a standalone CLI application.
Online [documentation][] is available on https://readthedocs.org.
Immoscrapy is tested on Linux, Mac and Windows and all Python versions >= 3.7.
[Immobilienscout24]: https://www.immobilienscout24.de/
[documentation]: https://immoscrapy.readthedocs.io/en/latest/
## Quickstart
The CLI allows currently for four types of queries:
1. renting an apartment
2. buying an apartment
3. renting a house
4. buying a house
```sh
immoscrapy --help
usage: immoscrapy [-h] {rent-apartment,buy-apartment,rent-house,buy-house} ...
Query Immobilienscout24 offers
positional arguments:
{rent-apartment,buy-apartment,rent-house,buy-house}
optional arguments:
-h, --help show this help message and exit
```
each of the types has its own set of options:
```sh
immoscrapy buy-apartment --help
usage: immoscrapy buy-apartment [-h] -c COUNTRY [-r REGION] [-z CITY] [-p PRICE] [-o NUMBEROFROOMS] [-s LIVINGSPACE] [-y CONSTRUCTIONYEAR]
Query for apartments for sale
optional arguments:
-h, --help show this help message and exit
-c COUNTRY, --country COUNTRY
-r REGION, --region REGION
-z CITY, --city CITY
-p PRICE, --price PRICE
price range: min-max, -max or min-
-o NUMBEROFROOMS, --numberofrooms NUMBEROFROOMS
number of rooms: min-max, -max or min-
-s LIVINGSPACE, --livingspace LIVINGSPACE
living space: min-max, -max or min-
-y CONSTRUCTIONYEAR, --constructionyear CONSTRUCTIONYEAR
construction year: min-max, -max or min-
```
running it:
```sh
immoscrapy buy-apartment --country de --region berlin --price 100000-800000 --numberofrooms 5-
# get nicely formatted tabular data showing the results
```
## Installation
immoscrapy is [available on pypi][pypi], you can install it via:
```sh
pip install immoscrapy
```
[pypi]: https://pypi.org/project/immoscrapy