Skip to content

A validation project where I am testing out ways to be the first notified of new property listings

License

Notifications You must be signed in to change notification settings

akareen/LiveRentalUpdates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live Rental Updates

Welcome to the Live Rental Updates project! This project aims to provide real-time updates on new Australian rental property listings in specified postcodes that match a given price point. The project consists of web scraping, data processing, and a front-end interface. Over the coming weeks, the project will be extended to include enhanced database integration and automated email notifications.

COMING SOON™️ - A website where you can add your email address and preferences to receive live updates on new rental listings that match your criteria.

Project Structure

  1. Web Scraping: The core of this project involves scraping rental listings from real estate websites. The scraping scripts are written in Python and utilize the BeautifulSoup library to parse HTML content.
  2. Data Processing: After scraping the listings, the data is processed to extract relevant information such as price, location, and property features.
  3. Database Integration: Listings are now stored in a MongoDB database, which will eventually be connected to the front-end interface.
  4. Front-End Interface: A demo front-end interface allows users to input their email addresses, maximum price points, and postcodes of interest. This interface will connect to the backend to send email updates based on subscriber information stored in the database.

Features

  • Scraping: Extracts rental listings from various real estate websites.
  • Postcode Validation: Ensures that only valid Australian postcodes are processed.
  • Price Conversion: Converts various price formats to a weekly price for uniformity.
  • Data Storage: Stores scraped data in a MongoDB database.
  • Front-End Interface: Allows users to input their preferences for rental updates.

Future Development

  • Email Notifications: Implement a system to send email notifications when new properties matching the user's criteria are found.
  • Enhanced Front-End: Improve the front-end to provide a more interactive user experience.
  • Further Database Enhancements: Enhance the database schema and functionality to support additional features and scalability.

Usage

Prerequisites

  • Python 3.6+
  • Required Python libraries: requests, beautifulsoup4, pandas, pymongo, concurrent.futures, flask, python-dotenv

Installation

  1. Clone the repository:

    git clone https://github.com/akareen/LiveRentalUpdates.git
    cd LiveRentalUpdates
  2. Install the required libraries:

    pip install -r requirements.txt
  3. Set up your .env file with the following variables:

    MONGO_USERNAME=your_username
    MONGO_PASSWORD=your_password
    MONGO_HOST=your_host
    MONGO_OPTIONS=your_options
    

Running the Scraper

  1. Run the main scraping script:
    python main.py
    This will scrape listings from the specified websites and store the results in the MongoDB database.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

For any questions or suggestions, please contact me at [email protected]


About

A validation project where I am testing out ways to be the first notified of new property listings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published