XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Scraper Development

Scraper Development Developers forum for meta data scrapers. Scraper developers only!
Not for posting feature requests, bugs, or end-user support requests!

Reply
 
Thread Tools Search this Thread Display Modes
Old 2008-07-26, 10:43   #1
billyad2000
Fan
 
billyad2000's Avatar
 
Join Date: Oct 2007
Posts: 660
billyad2000 is on a distinguished road
Send a message via MSN to billyad2000
Default 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 -

http://www.totaleclips.com/Player/Bo...=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.
__________________
Homepage for XBMC Media Companion, and XBMC-DB - seperate nfo files http://www.billyad2000.co.uk
Forums for XBMC Media Companion http://billyad2000.darkbb.com/
billyad2000 is offline   Reply With Quote
Old 2008-07-26, 11:47   #2
blittan
Team-XBMC Handyman
 
blittan's Avatar
 
Join Date: Jun 2004
Location: Sweden
Posts: 1,302
blittan is on a distinguished road
Send a message via MSN to blittan
Default

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.
For troubleshooting and bug reporting please make sure you read this first.


blittan is offline   Reply With Quote
Old 2008-07-26, 12:44   #3
spiff
Grumpy Bastard Developer
 
spiff's Avatar
 
Join Date: Nov 2003
Posts: 7,715
spiff is on a distinguished road
Default

yeah, we chain into the /trailers page and fetch the url from there
__________________
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.
For troubleshooting and bug reporting please make sure you read this first.
spiff is offline   Reply With Quote
Old 2008-07-26, 15:49   #4
billyad2000
Fan
 
billyad2000's Avatar
 
Join Date: Oct 2007
Posts: 660
billyad2000 is on a distinguished road
Send a message via MSN to billyad2000
Default

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
__________________
Homepage for XBMC Media Companion, and XBMC-DB - seperate nfo files http://www.billyad2000.co.uk
Forums for XBMC Media Companion http://billyad2000.darkbb.com/
billyad2000 is offline   Reply With Quote
Old 2008-07-26, 18:22   #5
billyad2000
Fan
 
billyad2000's Avatar
 
Join Date: Oct 2007
Posts: 660
billyad2000 is on a distinguished road
Send a message via MSN to billyad2000
Default

No matter, i've sussed it.

Thanx for your help
__________________
Homepage for XBMC Media Companion, and XBMC-DB - seperate nfo files http://www.billyad2000.co.uk
Forums for XBMC Media Companion http://billyad2000.darkbb.com/
billyad2000 is offline   Reply With Quote
Old 2008-07-27, 00:09   #6
blittan
Team-XBMC Handyman
 
blittan's Avatar
 
Join Date: Jun 2004
Location: Sweden
Posts: 1,302
blittan is on a distinguished road
Send a message via MSN to blittan
Default

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.
For troubleshooting and bug reporting please make sure you read this first.


blittan is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:17.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project