Coder Social home page Coder Social logo

innovaccer-spoiler-alert's Introduction

Spoiler-alert-system

A spoiler alert system for the Innovaccer Summer Hacker Camp assignment

This simple Python script allows you to get information about the next latest episode of your favourite TV series via email.

How to use:

  1. First you will need to store the info for your MySQL database in the db_login.json file.
    You need to replace localhost with your host, user with your username and ubuntu97 with your own password.

  2. Install all the packages mentioned in the requirements.txt file using pip.

  3. Next, you will need to populate the database by running
    python3 spoiler_alert.py --update
    Enter the email addresses along with the corresponding list of TV series. When you are done press Enter twice.

  4. Finally, in order to send email alerts to the above entered email-id's, run the script using --alert option like this
    python3 spoiler_alert.py --alert This will ask you to login to the email-id that will be used to send the emails. So, enter your email address and password (make sure that you allow less secure apps on your email otherwise Python won't be able to login to your email account.

That's it!

All the recepients will now receive an email telling them about the air date of the next episode of their favourite TV series.

innovaccer-spoiler-alert's People

Contributors

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