hidive-downloader-nx icon indicating copy to clipboard operation
hidive-downloader-nx copied to clipboard

api key not valid

Open anidl-git opened this issue 4 years ago • 17 comments

if app don't work because of key write here

anidl-git avatar Jun 22 '20 16:06 anidl-git

ok had some spare time to try and get the new key, i got one from an apk, but not sure where to change it to test it.has a google id

storm134 avatar Jul 31 '20 20:07 storm134

@anidl We're getting everybody's favourite error code 81 again 👌

beeequeue avatar Aug 04 '20 15:08 beeequeue

HiDive is always going to be a problem if were going to keep using API key's why not simply move away from using the API & try something else, for example youtube-dl has no issues if you directly link the episode page but it cannot search the rest of the website to find the next episode.

maybe move to full page decoding/processing instead of using API's to get the URL.

XxUnkn0wnxX avatar Sep 23 '20 01:09 XxUnkn0wnxX

@storm134

The API Key for the Android version is hidden in the native library libnative-lib.so. You can intercept the call to picosha2 (where they generate the SHA256 hash) in the function "Java.com.twentyfouri.sentaiapi.data.session.SentaiHeaders.generateNonce" and get the Key.

anidl-git avatar Oct 17 '20 08:10 anidl-git

Getting Code 81, is there a way to fix this?

inittabayanami avatar Jun 14 '21 14:06 inittabayanami

it code 81 agen

Wikimated avatar Nov 13 '21 06:11 Wikimated

@anidl-git Hello, I am currently developing an API to be able to load content from several streaming sites (already available on my Github), however I would like to add Hidive to the services already supported. I understood the mode of operation for requests to the API and their hash system, however I can't find the token generated by the native Android lib. During the interception that I do, I only have the result of the hash, so I ask you if it would be possible for you to explain to me how to do (or correct me) so that I can recover this token in order to improve my api.

You can contact me on discord, (available via one of the links present in each project that I publish, at the bottom of the page) Thank you

hyugogirubato avatar Jan 28 '22 12:01 hyugogirubato

anyone has the bit to extract the new api key with frida?

mnmll avatar Apr 04 '22 17:04 mnmll

@mnmll no..

hyugogirubato avatar Apr 09 '22 17:04 hyugogirubato

508efd7b42d546e19cc24f4d0b414e57e351ca73 There you go guys.

philhk avatar Oct 02 '22 18:10 philhk

thanks phihk, key worked fine am able to login now and search database but not able to download. getting nan attempt to retrieve data. They must have changed something on there site. i tried fixing it but unfortunately this is not my forte .

storm134 avatar Oct 03 '22 19:10 storm134

I am personally able to download videos from hidive (and yes this is the correct encryption key, it was added more than 2 months ago)

hyugogirubato avatar Oct 04 '22 13:10 hyugogirubato

weird, i removed everything and reset up and now am getting 403 error. when i login says account status is gold. tried on 2 different machines. did you have to change anything other then the api key? even update nodejs, same

storm134 avatar Oct 04 '22 13:10 storm134

@storm134 contact me on discord, I will give you some indications.

https://discord.com/invite/g6JzYbh

hyugogirubato avatar Oct 04 '22 15:10 hyugogirubato

joined but do not have permissions (Jormungand)

storm134 avatar Oct 04 '22 18:10 storm134

You just need to change the userAgent header from the hls-download library. But I'll be releasing a new repository soon where I've fixed this issue and also added some other stuff, so feel free to use it then.

philhk avatar Oct 04 '22 22:10 philhk

Just posting an update, the hidive downloader has been fixed and migrated into https://github.com/anidl/multi-downloader-nx

AnimeDL avatar Jul 12 '23 22:07 AnimeDL