Zangetsu
Zangetsu copied to clipboard
Ani.pm source can't play: app fetch to embed.settlar.io gets 403 block page
Source name
Ani.pm
What kind of source is it?
Zangetsu (JS)
Where does it fail?
Opens, but nothing plays / no pages load
App version
2.3.2
Device and Android version
Android 16
Already tried
- [ ] Source health test
- [ ] Updated the source
- [ ] A different source, which works
Logs
Hi,
Found this while testing the Ani.pm source.
Everything from ani.pm's own API works fine in the app — home, search, title details, even the playback session call. But an episode never gets a playable link.
Checked the device logs (Settings, Advanced, Share logs). Every ani.pm request returns 200. The last step of playback, GET https://embed.settlar.io/api/embed/session, returns 403 with a ~5.8 KB HTML page — for every episode and every language.
That 403 is not from their API. From a normal client the same request returns 200 with any headers (even none), and a wrong token there returns a small JSON 401 error. So the app's HTTP client is being blocked at the edge (looks like a Cloudflare-style block page) — the same kind of thing VixSrc had, except there the CF-solving client handled it, and provider fetches here go direct.
The stream URL only comes from that one call, so until the app can get past the block, this source (and any source whose stream step sits on a protected host like this) can't play.
Possible fix: let provider fetches use the CF-solving client, or add a WebView-backed fetch fallback for hosts that return these block pages.
Thanks!