Git Product home page Git Product logo

heyimdb's Introduction

A simple tool based on "secret" IMDB urls to get the IMDB ratings of a movie.

This tool currently can search with the exact/approx movie name and print it's rating.

How to use:

#prints the help menu \m/optparse!
$ python heyimdb.py --help

#returns the rating of the movie if movie found, 
$ python heyimdb.py The Butler
7.1

#if unavailable/clashing, displays close results. As of now, find the id of the movie 
#you need and run the command again. 
$ python heyimdb.py Redemption 
Popular Titles:
 tt1893256: Redemption (2013,     <a href='/name/nm1140275/'>Steven Knight</a>)
 tt0111161: The Shawshank Redemption (1994,     <a href='/name/nm0001104/'>Frank Darabont</a>)
 tt1899353: The Raid: Redemption (2011, )
 tt0239195: Survivor (2000 TV series,     <a href='/name/nm0663789/'>Charlie Parsons</a>)
 tt1156466: Undisputed 3: Redemption (2010,     <a href='/name/nm0282708/'>Isaac Florentine</a>)
Exact Titles:
 tt0218378: The Claim (2000,     <a href='/name/nm0935863/'>Michael Winterbottom</a>)
 tt0065744: The Shiver of the Vampires (1971,     <a href='/name/nm0210811/'>Jean Rollin</a>)
 tt2201886: Redemption (2013/IV documentary short,     <a href='/name/nm0022412/'>Jon Alpert</a>...)
 tt0021292: Redemption (1930,     <a href='/name/nm0629243/'>Fred Niblo</a>...)
 tt0275624: Redemption (2003 video,     <a href='/name/nm0717424/'>Sean A. Reid</a>)
...
#Snipped

#search with id
$ python heyimdb.py -i tt0111161
[u'The Shawshank Redemption', 9.3] 

TODO:

  • to add options (currently added, but options dont work)
  • coprehensive suite (rating, cast, summary)
  • better URLs to get data from

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.