abrenaut / mrot

Movie ratings over time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Troll 2

Movie Ratings Over Time

Plot the evolution over time of a movie's rating using The Wayback Machine.

Prerequisites

This project requires Python >= 3.5

Installing

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"

Developing

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

Features

Usage

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)

About

Movie ratings over time

License:MIT License


Languages

Language:HTML 99.3%Language:Python 0.7%