Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

built in key finder for multisrc/aniwatch/kaido #2721

Conversation

rebelonion
Copy link
Contributor

Fixes #2568
Alternate to: #2711

Tested on both Kaido and AniWatch

Uses regex to find the keys in the obfuscated js file.

This is slightly slower than pulling the key straight from GitHub, but not nearly as bad as de-obfuscating the JavaScript (not noticeable in daily use).
Obvious benefit of having always up to date keys.

Checklist:

  • Updated extVersionCode value in build.gradle for individual extensions
  • Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
  • Referenced all related issues in the PR body (e.g. "Closes #xyz")
  • Added the containsNsfw = true flag in build.gradle when appropriate
  • Have not changed source names
  • Have explicitly kept the id if a source's name or language were changed
  • Have tested the modifications by compiling and running the extension through Android Studio

jmir1
jmir1 previously approved these changes Jan 11, 2024
@jmir1 jmir1 merged commit 891f66a into aniyomiorg:master Jan 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AniWatch And Kaido: Failed to extract video.
2 participants