Media Companion
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Media Companion

Discussion and development board for the program Media Companion.
 
HomeHome  SearchSearch  RegisterRegister  Log inLog in  

 

 Trailer info

Go down 
AuthorMessage
rernst99
Junior Member
Junior Member


Posts : 14
Join date : 2008-11-13

Trailer info Empty
PostSubject: Trailer info   Trailer info Icon_minitimeMon Apr 27, 2009 5: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
billyad2000
Admin
billyad2000

Posts : 1326
Join date : 2008-09-20

Trailer info Empty
PostSubject: Re: Trailer info   Trailer info Icon_minitimeMon Apr 27, 2009 3: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 https://billyad2000.darkbb.com/announcements-f1/
Back to top Go down
http://billyad2000.co.uk
rernst99
Junior Member
Junior Member


Posts : 14
Join date : 2008-11-13

Trailer info Empty
PostSubject: Re: Trailer info   Trailer info Icon_minitimeMon Apr 27, 2009 4: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
Sponsored content




Trailer info Empty
PostSubject: Re: Trailer info   Trailer info Icon_minitime

Back to top Go down
 
Trailer info
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Media Companion :: Media Companion :: General Discussion-
Jump to: