You are hereArchives / May 2009

May 2009


IMDB Details Grabber: Using PHP DOM XPath to extract Movie details

Recently, a friend of mine asked me if there's an IMDB Parser that allows to fetch information about any Movie on IMDB. Unfortunately, IMDB does not offer an API, so , after doing a bit googling I found nice IMDB Grabber (PHP IMDB Grabber), despite it being a good one, I decided develop my own class relying on XPath and Dom Traversing.

[Example] - IMDB Details Grabber

Type
- The IMDB URL: (Example: http://www.imdb.com/title/tt0103064/) OR
- The Movie Name: (Example: The Matrix)


   


« Back to IMDB Grabber