Skip to content

This python scripts retrieves the rating of a movie with its title

License

Notifications You must be signed in to change notification settings

meysammahfouzi/cinema

Repository files navigation

https://travis-ci.org/meysammahfouzi/cinema.svg?branch=master https://coveralls.io/repos/github/meysammahfouzi/cinema/badge.svg?branch=master

Cinema

This python scripts retrieves all the information of a movie given its title. The following web sites are used to retrieve the rating of movies:

  • IMDB
  • RogerEbert
  • Metacritic

Currently only IMDB is supported but the support for the rest will be added.

Installation

pip install cinema

or locally:

python setup.py install

Usage:

After installing the package, you can use the following command to retrieve the information of a movie. Note that you do not need to specify the movie's exact name.

watch-movie {MOVIE_NAME}

Example:

watch-movie 'a separation'

or

watch-movie 'redemption'

In case there are multiple versions of a movie, you can specify the production year too:

watch-movie 'The Lord of the Rings' 2002