Media Companion

Discussion and development board for the program Media Companion.
HomeHome  ­FAQFAQ  ­SearchSearch  ­RegisterRegister  ­Log inLog in  
Post new topic   Reply to topicShare | 
 

 Trailer info

View previous topic View next topic Go down 
AuthorMessage
rernst99
Junior Member
Junior Member


Posts: 14
Join date: 2008-11-13

PostSubject: Trailer info   Mon Apr 27, 2009 3:56 am

for my own little project - where do you scrape the trailer info for a movie from IMDB from? I can't make sense of the XBMC xml file in this area, maybe I am too dim for this.
Back to top Go down
View user profile
billyad2000
Admin


Posts: 890
Join date: 2008-09-20

PostSubject: Re: Trailer info   Mon Apr 27, 2009 1:00 pm

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

It is worth noting that IMDB only has movie trailers in some countries

The lines you are interested in are:
<a target="_self" href="/rg/VIDEO_TITLE/GALLERY/video/screenplay/vi3154772761/" onClick="">

The trailer URL would be
http://www.imdb.com/rg/VIDEO_TITLE/GALLERY/video/screenplay/vi3154772761/player

This takes you to the page that links directly to the video, the link to download will look something like:
http%3A%2F%2Fwww.totaleclips.com%2FPlayer%2FBounce.aspx%3Feclipid%3De46293%26bitrateid%3D314%26vendorid%3D102%26type%3D.flv
Replace the codes with:
%3A = ':'
%2F = '/'
%3F = '?'
%3D = '='
%26 = '&'
Leaves you with a link to the file:
http://www.totaleclips.com/Player/Bounce.aspx?eclipid=e46293&bitrateid=314&vendorid=102&type=.flv

_________________
Do you have a problem with Media Companion, before posting a bug then please check you have the very latest version of Media Companion http://billyad2000.darkbb.com/announcements-f1/
Back to top Go down
View user profile http://billyad2000.co.uk
rernst99
Junior Member
Junior Member


Posts: 14
Join date: 2008-11-13

PostSubject: Re: Trailer info   Mon Apr 27, 2009 2:37 pm

billyad2000 wrote:
http://www.imdb.com/title/tt0458525/trailers

It is worth noting that IMDB only has movie trailers in some countries

The lines you are interested in are:
<a target="_self" href="/rg/VIDEO_TITLE/GALLERY/video/screenplay/vi3154772761/" onClick="">

The trailer URL would be
http://www.imdb.com/rg/VIDEO_TITLE/GALLERY/video/screenplay/vi3154772761/player

This takes you to the page that links directly to the video, the link to download will look something like:
http%3A%2F%2Fwww.totaleclips.com%2FPlayer%2FBounce.aspx%3Feclipid%3De46293%26bitrateid%3D314%26vendorid%3D102%26type%3D.flv
Replace the codes with:
%3A = ':'
%2F = '/'
%3F = '?'
%3D = '='
%26 = '&'
Leaves you with a link to the file:
http://www.totaleclips.com/Player/Bounce.aspx?eclipid=e46293&bitrateid=314&vendorid=102&type=.flv


Ah, thanks a lot. I saw the first link and I saw the next page but then somehow didn't find the clip name.

You da man!
Back to top Go down
View user profile
 

Trailer info

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You cannot reply to topics in this forum
Media Companion :: Media Companion :: General Discussion-
Post new topic   Reply to topic