Posts Tagged ‘imdb’

Some IMDb alternatives

March 10, 2017 Leave a comment

IMDb shut down its message boards in February, 2017. Read more here. This is a shame. When I watched a movie, I loved to read the opinions of other people on this forum. It was a very stupid decision from IMDb and I’m sure I’ll visit their site much less.

Here are some alternatives:

Unfortunately, these sites won’t replace the good old message boards…

Project idea: write a script that takes the title of a movie and opens these sites in tabs. The sites in the tabs show the selected movie.

Rotten Tomatoes has an API

June 12, 2015 Leave a comment

If you want to get info about a movie (e.g. rating, cast, etc.), there is imdbpy, which collects data from IMDb. I just found that Rotten Tomatoes has an API too:

Update (20150622): about two weeks ago I asked for an API key. I’ve got no response since then…

Update (20150623): I got an answer from them! Here it is:

Thank you for your interest in the Rotten Tomatoes API. Unfortunately, we are unable to grant access at this time.

Due to changes in our syndication program, we're currently only offering free API access to domestic students. This may change in the future as we add additional tiers to the program.

-The Rotten Tomatoes Team
Categories: api Tags: , , ,

BH IMDB/Word Highlight

A long time ago I also made a Greasemonkey script called BH IMDB/Word Highlight. This script is written for some specific sites in Hungary. However, you can take ideas from this how to highlight a text on a web site.

Install a Greasemonkey script from a local file

May 20, 2013 1 comment

You have downloaded a Greasemonkey script but… how to install it?

Here I suppose you have the Greasemonkey add-on installed (Hey, what is GM?). Well, I didn’t find anywhere the option “install from local file“. A GM script is called *.user.js and if you open the URL (http://...) of such a script, GM will recognize it and offer to install it (for this GM must be enabled). However! If you open your script locally (file://...), nothing happens. WTF?

Calm down. You know Python, right? The Swiss army knife of programmers. Just navigate to the directory where the GM script is located and start a web server:

$ python -m SimpleHTTPServer

Now open the URL http://localhost:8000 , click on the user script and GM will offer to install it. Python, what would I do without you?

User scripts are installed in this directory: “~/.mozilla/firefox/xxxxxxxx.default/gm_scripts“. Here you will find a config.xml file too that is created by GM.

I installed this way this script: Greasemonkey: focus first input field. This script puts the focus on the first input field. I use it with Amazon and IMDB and works like a charm.

Get IMDB ratings without any scraping

February 12, 2012 Leave a comment

Update (20150712): If you know Python, check out the awesome IMDbPY library. It does the hard work for you, you just need to call some simple functions. Here is the docs.

Update (20130130): seems to have moved to Links below are updated accordingly.

You want to get some data (e.g. rating) of a movie from IMDB. How to do it without any web scraping?

Solution #1
Someone made a simple API for this task, available at You can search by ID or title.


The result is a JSON string that contains basic movie info, rating included.

Solution #2
IMDB has a secret API too, made for mobile applications (available at Here they say “For use only by clients authorized in writing by IMDb. Authors and users of unauthorized clients accept full legal exposure/liability for their actions.” So what comes below is strictly for educational purposes.


The result is a JSON string. Find more info about this API here.

Related posts

Thanks reddit.

Update (20120222)
Python code for solution #1 is here.

Disable IMDB’s localization

July 21, 2011 Leave a comment

IMDB can detect the country you are from and it changes some movie titles according to that. I find it very annoying. To disable this feature, browse IMDB via In this case, movie titles will be displayed in the original language.

This tip is from here.

Categories: Uncategorized Tags: , ,

Autofocus on the first input field of a page

April 1, 2011 Leave a comment


You visit some sites frequently where you conduct some search but first you always have to click on the search field. The best example is IMDB. When I go there, I want to find a movie, so I want to type immediately the title of a movie. Why can’t they set the focus on the search field? I find it very annoying.


Fortunately someone else had also met this problem :) Visit the post Greasemonkey: focus first input field and install the Greasemonkey script. It sets the focus on the first input field and by default it’s activated for all URL addresses. If you want to limit it to IMDB only, edit the head of the script:

// @version        1.0
// @include*
// ==/UserScript==

Location of the script: $HOME/.mozilla/firefox/xxxxxxxx.default/gm_scripts/.