• 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 10
[RELEASE] Trailer Addict (Video) Plugin
#91
(2014-02-03, 17:12)Eldorado Wrote: Looks like they did a revamp of the site, addon doesn't show any listings at least on the main page not sure about the sub sections

Thanks for the heads up. I will look into this.
Reply
#92
any news for a update
Reply
#93
i get a failure when i want to install this, it wont install
Reply
#94
I'll also chime in on the update status?
Reply
#95
(2014-02-03, 18:04)stacked Wrote:
(2014-02-03, 17:12)Eldorado Wrote: Looks like they did a revamp of the site, addon doesn't show any listings at least on the main page not sure about the sub sections

Thanks for the heads up. I will look into this.

*** Edit - removed


To get paging going for the main listings they do this post:

Code:
Request URL:http://www.traileraddict.com/ajax/features_home.php
Request Method:POST
Status Code:200 OK
Request Headersview source
Accept:*/*
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-GB,en-US;q=0.8,en;q=0.6
Connection:keep-alive
Content-Length:6
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
Cookie:_ga=GA1.2.847258520.1393258274
Host:www.traileraddict.com
Origin:http://www.traileraddict.com
Referer:http://www.traileraddict.com/
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36
X-Requested-With:XMLHttpRequest

Form Data
page:1
Reply
#96
I don't know anything about how this plugin is structured but is there any way this API could help? http://www.traileraddict.com/trailerapi
Might be better than page scraping if that is what is currently happening.
Reply
#97
Unfortunately doesn't look like it will help too much, it seems to be meant for partnering websites and just returns code to embed the trailers in the pages, the info we need is still hidden

The key to it seems to be making a call to this page, which returns what we need:
Code:
http://beta.traileraddict.com/js/flash/fv-secure.php?tid=#####&token=####

The tid value is easy to get, but I'm not seeing where to get the value for token..
Reply
#98
I was bored and decided to dig a bit more

The token and redirect url is spit out from the player.swf file, I downloaded and decompiled using showmycode.com

Here's the relevant part:

Code:
var _local2:* = MD5.hash(this._videoId);
var _local3:* = _local2.substr(2, 5);
_local1.load(new URLRequest(((("http://beta.traileraddict.com/js/flash/fv-secure.php?tid=" + this._videoId) + "&token=") + _local3))); }

Not sure how to continue from here...
Reply
#99
I already have half of the add on fixed by using their open Api used in the TA iOS/Android app. I just need to figure out how to grab the HD video links instead of mobile SD.
Reply
Sweet! Glad they didn't kill us with that token

Is that api documented anywhere, or meant to be private?
Reply
Just wondering if anyone ever fixed this? I've been leaving it installed just in case an update pops up but it's been quite a while now. someone should probably mark this as "broken" and remove it from the official repo if it is no longer supported.
Reply
I am willing to offer a hand, though I have no knowledge of the api used for mobile devices
Reply
So I got fidgety again and took another shot at this guy

To get the token all of a sudden seemed simple, just needed to use the hashlib.md5 library to get it

Here's a fixed version that so far just lets you play trailers from the main menu, not enough time to go thru the rest of the menu's

I versioned it 2.0.9.02 to keep out of the way from stacked's official updates:
https://mega.co.nz/#!H04iEZQI!RibrwYQsij...wOq0S5x01U
Reply
Any news get addon to working
Reply
(2014-11-12, 23:56)nickshe89 Wrote: Any news get addon to working

I posted a semi-working version above, I've done further updates and if I get time and stacked is ok with it I can finish what I've done and send an update to the repo
Reply
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 10

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Trailer Addict (Video) Plugin2