Giter VIP home page Giter VIP logo

immobilienscout24.de-crawler's Introduction

Crawler for Houses and Flats on https://www.immobilienscout24.de/

This crawler will crawl all the listings for flats and houses (rent and sale) on the German real estate website www.immobilienscout24.de.

Dependencies

This crawler was programmed with Python3 and BeautifulSoup4. Naturally, you would need to install Python3 as well as the BeautifulSoup4 module. Pandas was used for data wrangling and generating the output. I recommend using Anaconda which already includes Pandas.

Usage

By inputing some paramters via your command line (e.g. Bash in Linux or cmd on Windows) you can customize this crawler to your specific needs. The parameters are --type= and --payment=. --type= specifies what sort of real estate you want to crawl. --type= accepts either one or both of the letters h (houses) and f(flats). --payment= takes either one or both b (buy) or r (rent). In the end, your call should look something like this: python immoscrap.py --type=hf --payment=br. This command will crawl houses (h) and flats(f) for rent (r) and sale (b). You could trim your search by inputing fewer search parameters but there must be at least one for both --type= and --payment=.

  1. Make sure that all dependencies are installed.
  2. Open a command line terminal.
  3. cd into the crawler's directory.
  4. type in python immoscrap.py --type=hf --payment=br for crawling houses and flats that are for sale and rent. Make adjustments to --type= or --payment= if you wish.

Output

The total progress will be printed to the command line while running. In the end, you'll find a new folder called Results containing two sub-folders with the names Raw and Clean. Both folders will contain the data in a .csv file. However, the data in Raw is unformatted, while the data in Clean is already processed.

Formatting

German formatting conventions are used. This means that ";" is the delimeter inside the .csv file. Also note that the decimal seperator is equal to "," and not "."! Keep these formatting conventions in mind when you read in the data.

Usage

Feel free to use this data and crawler for your personal/academic/commerical projects. If you write an academic paper, I would appreciate to be mentioned by my full name (see bio). Please be polite when crawling. This crawler was not developed to do any harm.

immobilienscout24.de-crawler's People

Contributors

jhruzik 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.