Skip to content

Fix AllAnime crypto flow and stream resolution - #350

Closed
ubejdullah wants to merge 1 commit into
sdaqo:masterfrom
ubejdullah:fix/allanime-crypto-flow
Closed

Fix AllAnime crypto flow and stream resolution#350
ubejdullah wants to merge 1 commit into
sdaqo:masterfrom
ubejdullah:fix/allanime-crypto-flow

Conversation

@ubejdullah

@ubejdullah ubejdullah commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Fix AllAnime crypto flow and stream resolution

This change updates the AllAnime provider for the latest MKissa client crypto flow. It also removes unstable persisted queries from search and show requests and adds support for the Mp4Upload source that AllAnime currently returns.

Problem

AllAnime changed the protected episode source request in several ways.

  • The frontend now exposes a build ID and a crypto lane.
  • The client must derive a build specific mask.
  • The client must generate an x-aa-boot signature.
  • The second key part must be requested from the client crypto bootstrap endpoint.
  • The source token must contain the build ID and lane.
  • The source request must include the lane and an x-build-id header.
  • Source requests now use the MKissa API endpoint.

This should close: #348
Implementation based on: pystardust/ani-cli#1829

Support the new MKissa bootstrap flow and required source request fields.
Replace unstable persisted queries and resolve Mp4Upload streams.
@mbpowers

Copy link
Copy Markdown

note the magic strings are changing with each build
see pystardust/ani-cli#1829 for more info

@sdaqo

sdaqo commented Jul 28, 2026

Copy link
Copy Markdown
Owner

thanks for the pr, I changed some stuff to make it work with the current system (the CI Job).

@sdaqo sdaqo closed this Jul 28, 2026
@ubejdullah
ubejdullah deleted the fix/allanime-crypto-flow branch July 28, 2026 17:49
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.

AllAnime Seems to Have Changed Something Again ~ No Playable Episodes

3 participants