Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

fix(music): bypass YouTube bot-check via iOS player client#253

Merged
karaktaka merged 1 commit into
mainfrom
fix/youtube-ios-player-client
Feb 23, 2026
Merged

fix(music): bypass YouTube bot-check via iOS player client#253
karaktaka merged 1 commit into
mainfrom
fix/youtube-ios-player-client

Conversation

@karaktaka
Copy link
Copy Markdown
Contributor

Summary

  • Adds extractor_args: {"youtube": {"player_client": ["ios"]}} to yt-dlp config to use the iOS app API, which is not subject to the same web-layer bot detection that was blocking downloads
  • Removes a broken no-op retry in fetch_yt_infos that caught the DownloadError and reissued the exact same request unchanged, which would always fail identically
  • Removes the now-unused DownloadError import

Test plan

  • Play a YouTube video via the music module and confirm it streams without the "Sign in to confirm you're not a bot" error
  • Verify playlist loading still works

🤖 Generated with Claude Code

Switch yt-dlp to use the iOS app API instead of the web client to avoid
YouTube's bot detection. Also removes a broken no-op retry that caught the
same error and re-issued the identical request unchanged.

Co-Authored-By: Claude <noreply@anthropic.com>
@karaktaka karaktaka merged commit abb5beb into main Feb 23, 2026
6 checks passed
@karaktaka karaktaka deleted the fix/youtube-ios-player-client branch February 23, 2026 18:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant