anidl / hidive-downloader-nx

MIT License
21 stars 7 forks source link

api key not valid #1

Open anidl-git opened 4 years ago

anidl-git commented 4 years ago

if app don't work because of key write here

storm134 commented 4 years ago

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

beeequeue commented 4 years ago

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

XxUnkn0wnxX commented 3 years ago

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.

anidl-git commented 3 years ago

@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.

inittabayanami commented 3 years ago

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

Wikimated commented 2 years ago

it code 81 agen

hyugogirubato commented 2 years ago

@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

mnmll commented 2 years ago

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

hyugogirubato commented 2 years ago

@mnmll no..

philhk commented 1 year ago

508efd7b42d546e19cc24f4d0b414e57e351ca73 There you go guys.

storm134 commented 1 year ago

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 .

hyugogirubato commented 1 year ago

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)

storm134 commented 1 year ago

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

hyugogirubato commented 1 year ago

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

https://discord.com/invite/g6JzYbh

storm134 commented 1 year ago

joined but do not have permissions (Jormungand)

philhk commented 1 year ago

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.

AnimeDL commented 1 year ago

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