khloke / play-to-xbmc-chrome

A Google Chrome Extension for sending online content to be played on XBMC. Supported websites include YouTube, Vimeo, CollegeHumor, DailyMotion, eBaumsWorld and SoundCloud.
MIT License
186 stars 112 forks source link

cda module error 403 for stream link #89

Open Unimaxx opened 8 years ago

Unimaxx commented 8 years ago

18:23:21 164.846649 T:2663572512 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403 18:23:21 164.847031 T:2663572512 ERROR: CCurlFile::Open failed with code 403 for http://s007.cda.pl/13590548266225.flv?st=Qwr_sIJuvSG1YjodFcjQKg&e=1456202212 18:23:21 164.847443 T:2663572512 ERROR: Open - failed to open source <http://s007.cda.pl/13590548266225.flv?st=Qwr_sIJuvSG1YjodFcjQKg&e=1456202212> 18:23:21 164.847870 T:2663572512 ERROR: CDVDPlayer::OpenInputStream - error opening [http://s007.cda.pl/13590548266225.flv?st=Qwr_sIJuvSG1YjodFcjQKg&e=1456202212]

I think cda.pl changed something in their site's code and it should send now also a cookie or some token with stream link to play the video.

khloke commented 8 years ago

Can you also provide a link to the video?

Unimaxx commented 8 years ago

I can't remember which movie it was but it same thing for all the videos on cda.pl, for example: For Chrome: visit: http://www.cda.pl/video/674255b then in site's source theres a direct stream link: http://v4.cda.pl/13590548266225.flv?st=AObq2ZBhTEaaoEQ_6uCubA&e=1456273644 and it starts downloading

For IE same stream link gives 403 error.

I think it has something to do with the cookies.

khloke commented 8 years ago

Thanks for the link. I have some idea on what's happening and should have a workaround for it. Hopefully it works and I'll release it ASAP.

Unimaxx commented 8 years ago

Thats great! I tried to find solution by myself without success because i have zero knowledge in JS coding...

Unimaxx commented 8 years ago

Hello. Is there any progress?

khloke commented 8 years ago

Been busy so I haven't got around to working on this.