Change internal player headers
#1
Hi.
I have see somes nformations on this forum but nothing working.

My problem, I m trying to pass a streaming url at player.
If I try to pass as url "www.url.com/file.mp4" i have error 404 because the site block me
If I try to pass as url "www.url.com/file.mp4|User-Agent=Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X)" it works but I have error messages like
Creating Demuxer
CCurlFile::GetCookies - invalid cookie: '.offshoregit.com TRUE / FALSE 1456766068 __cf '
CCurlFile::GetCookies - invalid cookie: '#HttpOnly_.tmdb.org TRUE / FALSE 1456769170 __cfdui '
CCurlFile::GetCookies - invalid cookie: 'thub.com FALSE / TRUE 0 _gh_s '

So Im trying to pass a fake cookie in same time.

If I try to encode the url with something like that url = url + '|' + urllib.urlencode({'Cookie' :urllib.urlencode(cookies)}) It don't works.

And If I try api_call = api_call + '|' + 'Cookie=&' + 'User-Agent=Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X)' It works but same cookies error.

An idea ?
Reply

Logout Mark Read Team Forum Stats Members Help
Change internal player headers0