https://github.com/didierrlopes/sortmoviesperrating
Sort movies according to their IMDB rating
https://github.com/didierrlopes/sortmoviesperrating
imdb movies-recommendation python-script sort-movies
Last synced: 8 months ago
JSON representation
Sort movies according to their IMDB rating
- Host: GitHub
- URL: https://github.com/didierrlopes/sortmoviesperrating
- Owner: DidierRLopes
- Created: 2021-01-12T22:51:51.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-17T11:37:23.000Z (over 5 years ago)
- Last Synced: 2025-03-17T22:51:34.268Z (over 1 year ago)
- Topics: imdb, movies-recommendation, python-script, sort-movies
- Language: Jupyter Notebook
- Homepage:
- Size: 12.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SortMoviesPerRating
This repository contains an algorithm that given a text file with a list of movie titles, will sort these according to their IMDB ranking, and adding the year of the movie.
The IMDB data is extracted from IMDbPy API https://imdbpy.github.io.
The python script can be run like this:
```
python sort_movies_per_ratings.py movies_list.txt
```
Given the following list of movies (from Reddit's https://www.reddit.com/r/coolguides/comments/geipee/99_mindfck_movies/):

The following ranked list of movies was created: