Giter Site home page Giter Site logo

housing_scrapperml's Introduction

Housing_scrapperML

The objective of this project is collect rents housing information in my city, and returns a list of the five best rent choices according to a list of defined characteristics.

In this project i make a web scraping to the rents housing information of my city from MercadoLibre. Later clean data and prepare for evaluate the model Ideal house rent.

Instructions

  • Download or clone the repository

  • Create virtual environment, in the root of project

      python -m venv venv
    
  • Activate virtual environment

      # Windows
      .\venv\Scripts\activate
      
      #Linux
      source venv/bin/activate
    
  • Install requirements.txt

      pip install -r requirements.txt
    
  • If you want make scraping to other ubication modify the line 42 of scraper HOME_URL variable:

  • Run main.py

      python main.py
    

New Version v1.0

  • Run app.py

      python app.py
    
  • This script run in localhost,

      http://localhost:8080/ideal_house
    

Receive the data through the browser.

  • Example:

      http://localhost:8080/ideal_house?surface=1&bathrooms=2&bedrooms=1&parking=2&price=2
    
  • For scrap data, include

      &scrap=true
    

Results

Runing main.py Runing main.py

Runing app.py Runing app.py

housing_scrapperml's People

Contributors

alexrods avatar

Watchers

 avatar

Forkers

guille-acosta

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.