Skip to content

A python mini project to fetch rating for movies using web scraping.

Notifications You must be signed in to change notification settings

utkarshbajaj/Find-IMDB-Ratings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Find IMDB Ratings

This script is used to fetch the Ratings and Genre of the films in your films folder that match with ones on IMDb, the data is scraped from IMDB's official website and store in a csv file. The csv file can be used for analysis then, sorting acc to rating etc.

Input: -> Path of the directory which contains the films.

Output: -> A new csv file is made - 'film_ratings.csv' which contains the ratings for the films in your directory.

P.S. - Please ask for assign before making a PR.
Creation of new issues is encouraged.

Do a git pull from the master repo before making a new Pull Request using
git remote add upstream https://github.com/utkarshbajaj/Find-IMDB-Ratings
git fetch upstream
git pull upstream master

Prerequisites

This program uses and external dependency of 'BeautifulSoup' (for web scraping), 'requests' (for fetching content of the webpage), 'pandas' (to make the csv file), 'os' (to get data from directory).
These libraries can be installed easily by using the following command: pip install -r requirements.txt

How to run the script

-> Install the requirements.
-> Type the following command: python GUI.py
-> Browse to the path where Films are located inside the folder
-> A csv file with rating will be created in the same directory as the python file.

Sample use of the script

Script :

new

Folder :

Screenshot 2020-10-02 at 6 15 22 PM

Result: (Also stored in a csv file)

Screenshot 2020-10-02 at 6 23 29 PM

Author

Utkarsh Bajaj

Contributors

About

A python mini project to fetch rating for movies using web scraping.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages