Skip to content

Leo-project-A/Apartment_hunting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

Using the yad2 website, scrape and collect information about apartments in your area.
*currently => Haifa, Israel

Getting Started

  1. edit the "config.json" file with the parameters of the search
    using strings with format "<minimum_value>-<maximum_value>"
    for Any value enter "-1"
    Exemple:
    {
      "rooms": "2--1",
      "price": "-1-2600",
      "floor": "-1--1",
    }
  2. using int format. to include the parameter in search = 1
    to exclude the parameter in search = 0
    Exemple:
    {
      "parking": 0, 
      "elevator": 1
    }
  3. Install dependencies
    pip install -r requirements.txt
  4. Run in your terminal
    python scrape.py

Usage

After the program finish running, an output file "apartment_listings" will be created with all the apartments found. image

(back to top)

Roadmap

  • Scarpe single page of the webside
  • Scrape all possible pages of the search results. Save in the output file
  • Scrape each item for additional details and images
  • Add support for other file formats. (currently only works with .csv)

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contact

Leonid Sobol - leonis313@gmail.com

Project Link: https://github.com/Leo-project-A/Apartment_hunting

(back to top)

About

hunting for apartments in 2022(using Yad2)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages