Plot the evolution over time of a movie's rating using The Wayback Machine.
This project requires Python >= 3.5
To install, simply:
virtualenv /path/to/mrot-venv
source /path/to/mrot-venv/bin/activate
pip install mrot
To plot the ratings over time of the movie 'Memento':
mrot "Memento"
To download the project:
git clone https://github.com/abrenaut/mrot.git
cd mrot
To download dependencies:
virtualenv /path/to/mrot-venv
source /path/to/mrot-venv/bin/activate
pip install -r requirements.txt
- Queries OMDb API to obtain movie information
- Use the The Wayback Scraper to download imdb archives
- Plot the ratings using matplotlib
usage: mrot [-h] [-c CONCURRENCY] [-d DELTA] [-q] movie_name
Show movie ratings over time.
positional arguments:
movie_name the name of the movie
optional arguments:
-h, --help show this help message and exit
-c CONCURRENCY, --concurrency CONCURRENCY
maximum number of concurrent requests to the wayback
machine (default: 2)
-d DELTA, --delta DELTA
minimum number of days between two ratings (default:
365)
-q, --quiet don't print progress (default: False)