Giter VIP home page Giter VIP logo

fmel_housing_bot's Introduction

FMEL Housing Bot

This is a webscraping project, a bot I created to search for first-come-first-served housing in Lausanne, where the website didn't have a proper api or date filtering search function.

It is an automated housing availability search bot.

I stopped refining this as I found housing in Stockholm and decided to attend KTH instead.

How to run

Create a .env file with the following keys:

  • FMEL_USERNAME - Username to the FMEL website
  • FMEL_PASSWORD - Password to the FMEL website
  • USER_KEY - Pushover user key
  • APP_TOKEN - Pushover app token

After saving the file in the root directory, simply run main.py, and leave it running as long as you wish for it to search for housing.

Description of files

The program consists of 3 python scripts:

login.py - Contains the webscraping specific to the FMEL website, all the navigation and HTML parsing etc.

main.py - Contains the loop that runs the check in regular intervals.

notify.py - Contains the function that sends a notification to the "pushover" application on my phone.

fmel_housing_bot's People

Contributors

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