GithubHelp home page GithubHelp logo

rezenayati / zillowautomation Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4 KB

Scrapes the Zillow Website for appartment info and using selenium enters them in a google form and gives us a google sheet of the price, url and the address

Python 100.00%

zillowautomation's Introduction

Zillow Data Manager

This script zillowdatamanager.py is designed to scrape data from a Zillow Clone website and prepare it for use in the Zillow Automation project. It utilizes BeautifulSoup for web scraping and extracts URL, price, and address data from the Zillow Clone website.

How to Use:

  1. Installation:

    • Ensure you have Python installed on your system.
    • Install the required libraries using pip:
      pip install requests
      pip install beautifulsoup4
      
  2. Usage:

    • Import the DataManager class from zillowdatamanager.py.
    • Initialize an instance of the DataManager class.
    • The instance will automatically scrape data from the Zillow Clone website.
  3. Integration:

    • After scraping data, integrate the extracted data with other components of the Zillow Automation project.

Components:

  1. zillowdatamanager.py:

    • DataManager: Scrapes data from the Zillow Clone website, including URLs, prices, and addresses.
  2. listingdata.py:

    • ListingData: Represents a listing with price, address, and URL attributes.
  3. formmanager.py:

    • FormFiller: Fills a Google Form with listing data.

Example Usage:

from zillowdatamanager import DataManager
from listingdata import ListingData

# Initialize DataManager
dt = DataManager()

# Extract listing data
listing_data_list = [ListingData(price=dt.price_list[i], url=dt.url_list[i], address=dt.address_list[i]) for i in range(len(dt.price_list))]

# Example of integrating with FormFiller
from formmanager import FormFiller
ff = FormFiller(listing_data=listing_data_list)

Dependencies:

  • requests: For making HTTP requests to the Zillow Clone website.
  • beautifulsoup4: For parsing HTML content and extracting data.

Note:

  • Ensure that the Zillow Clone website structure remains consistent for accurate data extraction.
  • Adjust XPath values in FormFiller class if the structure of the Google Form changes.

zillowautomation's People

Contributors

rezenayati avatar

Watchers

 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.