IMDB Trailer advice needed.
#1
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...&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.
Reply
#2
http://www.imdb.com/title/tt0448157/trailers

seems like you could parse after /imdbid/trailers..
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
Reply
#3
yeah, we chain into the /trailers page and fetch the url from there
Reply
#4
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
Reply
#5
No matter, i've sussed it.

Thanx for your help
Reply
#6
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.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
Reply
 
Thread Rating:
  • 1 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
IMDB Trailer advice needed.51