Skip to content

fix(anilight): fall back to direct embed when /sources requires Turnstile - #18

Merged
Onehand-Coding merged 1 commit into
mainfrom
fix/anilight-turnstile-fallback
Oct 11, 2026
Merged

Onehand-Coding merged 1 commit into
mainfrom
fix/anilight-turnstile-fallback

Conversation

@Onehand-Coding

Copy link
Copy Markdown
Owner

AniLight's /sources endpoint now answers HTTP 403 (Missing Turnstile session token) without a browser-minted x-source-session header, which broke explicit --provider anilight resolves (e.g. infinity castle dub).

This keeps trying the portable /sources route first and falls back to the /watch document's direct megaplay.buzz embed_url (same data-id plus stream/getSources plus AES backend HiAnime drives), live-verified with audio (h264 plus aac). Capabilities now advertise subs since the fallback returns soft-sub tracks.

Also extends scripts/check-providers-live.sh to exercise episodes plus first-episode resolve, since a search-only check stayed green through this breakage.

Gate: make test passes (249 tests, smoke, build).

@Onehand-Coding
Onehand-Coding merged commit 2d3e507 into main Oct 11, 2026
10 checks passed
@Onehand-Coding
Onehand-Coding deleted the fix/anilight-turnstile-fallback branch October 11, 2026 02:30
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.

1 participant