DxCx / plugin.video.9anime

plugin.video.9anime - 9Anime plugin for kodi
GNU General Public License v3.0
143 stars 47 forks source link

search function not working #24

Closed jtipt closed 7 years ago

jtipt commented 7 years ago

I tried searching several animes, the search function returns nothing. I am using kodi 17, and it was working perfectly fine till yesterday.

Dranzera commented 7 years ago

For me the anime episoded say that there's no source so they can't open.

DxCx commented 7 years ago

hi @jtipt is it still not working? i think the site was temporarly down..

xXFearTheGuestX commented 7 years ago

I can confirm also being unable to use the search function. I know this was working two days ago, but now it won't search anything

devilex94 commented 7 years ago

Getting "Couldn't find eliable sources" while playing any video And search function doesn't return anything Attached log file for you kodi.log.txt

fishcakedev commented 7 years ago

^pretty much this. happens a lot btw. usually works again if you restart kodi but today it seems to be completely broken. tried several reboots but not working

ghost commented 7 years ago

Hi,

the issue is, that 9anime wants a cookie for the api request containing a "reqkey=e416ee206e6f4f21797ae9a65f11234". otherwise we wont get the source urls for the videos. but i havent found a way to get this cookie.

Found it: The site contains a https://9anime.is/token?v1 which generates the reqKey

This token is always new opn every request. So we have to parse this javascript code, extract the regkey and generate a cookie with it.

Got it. The question is, will it be in violation of rights in some countries if we bypass this "protection" ?

jtipt commented 7 years ago

@DxCx I checked again today, and no the search is still not working. I don't think the site was temporarily down as I checked right now its up.

DxCx commented 7 years ago

@hoppler and @devilex94 i was aware of this cookie, but not all sources requests it (only F2) anyway, thanks to @githubus11 looks like the fix for F2 sources is closer :)

about the search itself, i tried to check it now again, but the site is not responding even through the browser, I'm not sure what's happening there, which URI are you trying to reach 9anime trough? i'm trying both 9anime.to & 9anime.is

DxCx commented 7 years ago

ok site is back, and i can finally see the search broken issue.. will try to see what's going on..

DxCx commented 7 years ago

ok, so the site responds with please make sure your browser supports cookie then try again looks like they added cookie requirement for searching as well, which means that the same known tokens issue 👍

27 should close that as well =)

EremesGuile commented 7 years ago

Good luck @DxCx . Will wait patiently for the fix. :+1:

DxCx commented 7 years ago

hey guys, please download latest .zip and retry with it, should be working now thanks to @githubus11

devilex94 commented 7 years ago

It's working now :D Thanks @DxCx @githubus11

jtipt commented 7 years ago

Its working now. Thanks, @githubus11 and @DxCx for fixing this fast.