Closed ghost closed 6 years ago
this looks like it can break very easly :( i mean, sometimes the actualy encoding function change and not only the DD and then it wont work anymore..
the "external" provider is used right now only as fallback
also im sure you have the skills to disable this behavior locally for you and update the DD manually ;)
i know it´ll break easily because im not doing semantic parsing. lets see how long it will take.
the code is more for a "nice to know where those changes are made" and those who code themselves. So maybe leave it open for a while^^
it's working, why should I, a noob, manually change something ;-)
@ruegnueg because as he said he's merely afraid of anyone gaining any "stats" on his anime watching habits, if you can gather what he means.
Rest assured though the only info we can view is the amount of total requests that is made to the API and nothing more, which isn't many at that as like what DxCx said it's simply a fallback method at the moment and 9a hasn't changed anything yet so currently all links use 834 for the extra parameter, no DD token knowledge required.
Even so the API is managed by romxuk, DxCx and I and is overseen by DxCx, but even he prefers having not to rely on it as much as possible, so I can't really expect anyone else to do any different.
Anyway do what you will. Our job here is done.
Hi,
code for getting the DD without an external provider because im not a fan of anyone knowing im using 9anime besides 9anime itself^^
Use-case Download current all.js calculate and persist DD value. There should be an option in the menu called "Reload DD-Value [fill in a better name]." to reload the new DD value and only download a new all.js if it is really new (the hash after ? changes with new files)
Attention You have to download the all.js?..... like its linked in the html script> ... section. The all.js and the all.js?p5b325dd5 are not the same