This application provides all the details of the requested movie such as overview, genre, release date, rating, runtime, top cast, reviews, recommended movies, etc.
The details of the movies(title, genre, runtime, rating, poster, etc) are fetched using an API by TMDB, https://www.themoviedb.org/documentation/api, and using the IMDB id of the movie in the API, I did web scraping to get the reviews given by the user in the IMDB site using beautifulsoup4
and performed sentiment analysis on those reviews.
Check out the live demo: https://the-movie-cinema.herokuapp.com/
Don't worry if the movie that you are looking for is not auto-suggested. Just type the movie name and click on "enter". You will be good to go eventhough if you made some typo errors.
Create an account in https://www.themoviedb.org/, click on the API
link from the left hand sidebar in your account settings and fill all the details to apply for API key. You will see the API key in your API
sidebar once your request is approved.
- Install all the libraries mentioned in the requirements.txt file.
- Clone this repository in your local system.
- Replace YOUR_API_KEY in the
static/recommend.js
file. - Open the command prompt from your project directory and run the command
python main.py
. - Go to your browser and type
http://127.0.0.1:5000/
in the address bar. - Hurray! That's it.