Skip to content

fix: fall back to mweb client on YouTube 403 errors - #17

Open
zackha wants to merge 1 commit into
pablostanley:mainfrom
zackha:fix/youtube-403-mweb-fallback
Open

zackha wants to merge 1 commit into
pablostanley:mainfrom
zackha:fix/youtube-403-mweb-fallback

Conversation

@zackha

@zackha zackha commented Aug 19, 2026

Copy link
Copy Markdown

YouTube's default extractor clients (android_vr, tv, etc.) are increasingly returning 403 Forbidden without a PO token. This adds a one-time retry against the mweb player client — which works for most public videos without a token — whenever probe() or download() hits a 403. Verified locally: typecheck, build, and test suite all pass (one pre-existing, unrelated test failure in the theme border test was already failing on main before this change).

@zackha zackha changed the title Update ytdlp.ts fix: fall back to mweb client on YouTube 403 errors Aug 19, 2026
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