IMDB Trailer advice needed.
This is with regard to my XBMC Media Companion Program.

Link To Thread

Some people are asking me to add the ability to scrape trailer URLs from IMDB. It is here that I need some help.

After scraping a movie using XBMC it returns the following url for the trailer -

My question is this -

How and where is this information gathered. I have been through every IMDB page I can think of looking for somewhere that will allow me to get a link like this and to be quite honest I am baffled.

I am very new to scrapers and I would appreciate it greatly if someone could point me in the right direction.

seems like you could parse after /imdbid/trailers..
yeah, we chain into the /trailers page and fetch the url from there
That's how far I get then I bump into my problem.

I can only find links to another page containing the trailer, i.e.


when I could use /screenplay/vi2291335449/trailer.flv or something similar

This is also a very different url to what XBMC produces of for the same movie
No matter, i've sussed it.

Thanx for your help
you should really narrow this one down, since i seen a few movies not having any trailers on imdb, just links to another page.. then you might want to have like 5 or 6 pages you support scraping on.. or if its not on imdb, then just let the user know that there was no trailer found, but they can manually enter a trailer of their own.

Logout Mark Read Team Forum Stats Members Help
IMDB Trailer advice needed.1
This forum uses Lukasz Tkacz MyBB addons.