Code Monkey home page Code Monkey logo

immoscrapy's Introduction

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.

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
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:

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:

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, you can install it via:

pip install immoscrapy

immoscrapy's People

Contributors

venthur avatar dependabot[bot] 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.