XBMC Community Forum
IMDB Trailer advice needed. - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Scraper Development (/forumdisplay.php?fid=60)
+--- Thread: IMDB Trailer advice needed. (/showthread.php?tid=35230)



IMDB Trailer advice needed. - billyad2000 - 2008-07-26 09:43

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 -

http://www.totaleclips.com/Player/Bounce.aspx?eclipid=e35335&bitrateid=314&vendorid=102&type=.flv

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.


- blittan - 2008-07-26 10:47

http://www.imdb.com/title/tt0448157/trailers

seems like you could parse after /imdbid/trailers..


- spiff - 2008-07-26 11:44

yeah, we chain into the /trailers page and fetch the url from there


- billyad2000 - 2008-07-26 14:49

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.

/rg/VIDEO_TITLE/GALLERY/video/screenplay/vi2291335449/

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

This is also a very different url to what XBMC produces of totaleclips.com/Player/Bounce.aspx?eclipid=e35335&bitrateid=314&vendorid=102&type=.flv for the same movie


- billyad2000 - 2008-07-26 17:22

No matter, i've sussed it.

Thanx for your help


- blittan - 2008-07-26 23:09

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.