This is a project used to find the ratings of movies and series and compile them into a single image. This project is based on the work of Roberto Sorio. It uses a combination of api calls and web scraping in python.
this is a sample from Roberto Sorio
When a user searches for a movie or a serie, the omdbapi is queried to return a list of results to the user. When the user selects a movie they are interested in, a webscraper is launched using python to the imdb website. This collects either the overall rating ( for a movie ) or the ratings of the all the episodes. ( for a series ). It combines all the results onto a single page thats returned to the user.
Series Ratings
Movie Results
Instructions for windows OS
- Clone the repository into your desired directory
git clone https://github.com/edgarmuyomba/ratings.git
- Enter the created folder
ratings
using the terminal. Make sure you have python installed for the next steps. - Create a virtual environment
python -m venv <name>
- Activate the virtual environment
<name>\script\activate
- Install the required dependencies
pip install -r requirements.txt
- Run the server. Access the demo on localhost:8000
python manage.py runserver
- Python
- Django
- Beautiful Soup 4
- Requests
- html, css, javascript
Caution
System might fail to run as expected due to changes in the imdb website structure or chnages with the working of the omdb api. Regular updates are rolled out to ensure its continued operation. Thank you