Skip to content

A python program that sends the user their fav TV Shows next Air status via E-mail.

Notifications You must be signed in to change notification settings

kesari007/TV-Show-Reminder.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

TV-Show-Reminder

A Python script that asks multiple users for their email address and their favourite TV show,Stores them into the MySql Database table,fetches the status of TV shows from websites such as Imdb and Next Episode.Stores the status in another table and sends a single Email to each user consisting of their TV favourite shows and their AIR status.

Dependencies :

Python-3.6.5
BeautifulSoup4 
requests
smtplib
mysql.connector
re

Example use case :

Input :

Enter the number of entries : 3
Email address: [email protected]
TV Series: gotham,game of thrones,sherlock,suits
Email address: [email protected]
TV Series: pitchers,suits,sherlock
Email address: [email protected]
TV Series: breaking bad,gotham,the flash

Output : The Email sent to [email protected] looks like :

TV Series name : gotham
Status : The next episode airs on 2018-05-17

TV Series name : game of thrones
Status : The next season begins in 2019

TV Series name : sherlock
Status : The show has finished streaming all it's episodes. 

TV Series name : suits
Status : The show has finished streaming all it's episodes. 

Table Schema Example :

Table name-users2

Email TVshow
[email protected] gotham,game of thrones,sherlock,suits
[email protected] pitchers,suits,sherlock

Table name - showstats1 (The table contains status of all Unique shows)

ShowName Status
gotham The next episode airs on 2018-05-17
game of thrones The next season begins in 2019
sherlock The show has finished streaming all it's episodes
suits The show has finished streaming all it's episodes
pitchers The show has finished streaming all it's episodes