Giter Site home page Giter Site logo

food-whisperer's Introduction

Food whisperer - never miss out on your favorite food item ever again!

A tiny cronjob I set up on my Mac that uses a web scraper daily to fetch lunch and dinner menus from dhall. Sends me an email if my chosen food items are available at my university's dining hall.

Anyone who knows me knows that I am always hungry and I like to take shortcuts too when possible. I set up this cronjob to get dhall's lunch and dinner menu's from the university's website and to alert me by email whenever cream puffs or french silk pie is available. This way I will never miss out on having lunch/dinner the day that UR's dining hall is serving my favorite food items.

NOTE: To use this, you will need to have a sendgrid account. This doesn't work without one!

Run it by navigating to the proper directory and typing:

#set up the cron job to run everyday at 10am (on a linux system)
crontab -e
0 10 * * * path to this folder/scraper.py 

#alternatively just run the script as it is.
python scraper.py

Sendgrid's emails often go to Spam in gmail! Mark these emails 'Not spam' and hopefully they'll reach your inbox someday :)

Please note that this project wasn't created with the intention to infringe upon any data privacy laws. It was only made to satiate my incurable and everlasting hunger.

food-whisperer's People

Contributors

shivtools avatar

Watchers

James Cloos 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.