Jump to content

Search IMDb with Movies workflow

Recommended Posts



I have used this workflow developed by Robert Hovath but I often want to look up and actor, so I decided to make my own workflow for searching for actors, movies and TV series on IMDb and I'ld like to share it with you  :)




The workflow uses one single command.

  • m [query] Looks up a movie, TV series or actor matching the query.

If a movie or TV series is selected, detailed information will be loaded from OMDb and shown. The detailed information includes the option for watching plot summary and a poster in quick look, view a list of actors in Alfred and view a trailer on YouTube.

If an actor is selected, the corresponding IMDb website will be opened.


I like to keep the commands I often use very short and therefore I chose just 'm'. If you don't like it, I'm sure you know how to change it.


You can download the latest version here or grab the source code at GitHub. I'm sorry that the workflow is not yet available on AlfPT but I'm unable to upload my workflows  :(


Share this post

Link to post

Damn dude, just made an account to tell you how awesome this workflow is!


I would like to see the rating of the movie in the suggested results, is it possible?


Damn, that would be freaking sweet!

Share this post

Link to post

This workflow sounds great. Unfortunately it does not work for me.

Regardless of what I enter as query after the keyword - nothing happens. Any suggestions?


I looked for error messages in console and found this, maybe it helps...


06.04.13 19:38:29 [0x0-0x23023].com.runningwithcrayons.Alfred-2[189]
 Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "movies_helper.py", line 43, in helper
    return display_search_results(query)
  File "movies_helper.py", line 48, in display_search_results
    results = imdb.search(query)
  File "imdb.py", line 8, in search
    contents = json_at_url(url)
  File "imdb.py", line 27, in json_at_url
    contents = contents_of_url(url)
  File "imdb.py", line 36, in contents_of_url
    request = urllib2.urlopen(url)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 124, in urlopen
    return _opener.open(url, data, timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 389, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 502, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 427, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 510, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
 urllib2.HTTPError: HTTP Error 403: Forbidden


Share this post

Link to post

This is a great workflow, thanks. The only issue I have is that it's a bit slow to load, especially when typing the results often come late and take multiple seconds to load what you really wanted results for. Any way to speed this up? 

Share this post

Link to post

Anyone else still using this workflow? Mine stopped working today.



[2017-02-05 15:51:53][ERROR: input.scriptfilter] Code 1: Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "movies_helper.py", line 41, in helper
    return display_movie_info(the_id)
  File "movies_helper.py", line 60, in display_movie_info
    if "Title" in movie and "Year" in movie and "Runtime" in movie and "imdbRating" in movie:
TypeError: argument of type 'NoneType' is not iterable


Share this post

Link to post
18 hours ago, Southgirl said:

Anyone else still using this workflow? Mine stopped working today.


Same here i think like i posted in the previous workflow by tone (movies and tv shows search) there has been some changes with IMDB/OMDB





18 hours ago, Southgirl said:



Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...