Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

api key not valid #1

Open
anidl-git opened this issue Jun 22, 2020 · 17 comments
Open

api key not valid #1

anidl-git opened this issue Jun 22, 2020 · 17 comments

Comments

@anidl-git
Copy link
Collaborator

if app don't work because of key write here

@storm134
Copy link

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
Copy link

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

@XxUnkn0wnxX
Copy link

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
Copy link
Collaborator Author

@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
Copy link

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

@Wikimated
Copy link

it code 81 agen

@hyugogirubato
Copy link

@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
Copy link

mnmll commented Apr 4, 2022

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

@hyugogirubato
Copy link

@mnmll no..

@philhk
Copy link

philhk commented Oct 2, 2022

508efd7b42d546e19cc24f4d0b414e57e351ca73 There you go guys.

@storm134
Copy link

storm134 commented Oct 3, 2022

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
Copy link

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
Copy link

storm134 commented Oct 4, 2022

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
Copy link

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

https://discord.com/invite/g6JzYbh

@storm134
Copy link

storm134 commented Oct 4, 2022

joined but do not have permissions (Jormungand)

@philhk
Copy link

philhk commented Oct 4, 2022

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
Copy link
Contributor

AnimeDL commented Jul 12, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants