Need help for a site : Very strange problem ! (1 Viewer)

titof

Portal Pro
March 3, 2008
2,248
63
Home Country
France France
Hi,

I have a problem for getting video url in a site (Direct8) :

It's simple :

- go to this page : http://www.direct8.fr/video/amEzeEhZ/le-flash-29-02-2012/
- show source code
- Search for "http://direct8.hexaglobe.com/player-vod-ads.js"
- If you directly clic in this url, from the source code, you can view the code.
- if you copy/paste url in a new tab, nothing !

With OnlineVideo, I can't get code of this url, getWebData return empty string.

It's very strange, I don't understand ...

Can you help me please ?

Thanks a lot !
Titof
 

titof

Portal Pro
March 3, 2008
2,248
63
Home Country
France France
Thanks for reply,

But how can I make this referer with OnlineVideo ?
 

offbyone

Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    The current GetWebData of the base SiteUtil does not support referer currently. Make a copy of it in your siteutil and add the referer header in the code.
     

    titof

    Portal Pro
    March 3, 2008
    2,248
    63
    Home Country
    France France
    Heyy ! It's works great !! Many thanks !
    I did not know it.
     

    corporate_gadfly

    Portal Pro
    May 17, 2011
    396
    136
    Home Country
    Canada Canada
    The current GetWebData of the base SiteUtil does not support referer currently. Make a copy of it in your siteutil and add the referer header in the code.
    Not sure what you mean by does not support it. Replying from a phone, so no details but isn't it
    Code:
    GetWebData(URL, null, referer)
    titof, glad it worked out for you.
     

    titof

    Portal Pro
    March 3, 2008
    2,248
    63
    Home Country
    France France
    Yes, with

    Code:
    GetWebData(URL, null, referer)

    it's works ;)
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Oh I didn't have the code here at work so I replied from my head :) Guess my memory was weak :)
     

    Users who are viewing this thread

    Top Bottom