Bump YouTubeKit pin past YouTube's August player change - #141
Merged
Merged
Conversation
YouTube's August player change makes stream downloads fail with HTTP 403 on the July revision (7cc8190): every prep loops through streamURLExpired -> re-resolve -> 403 indefinitely. Upstream fixed extraction on 2026-08-18 (alexeichhorn/YouTubeKit#140, updated web client versions + new player-client fallbacks). Pin the known-good revision e5b7d03. Verified on device: imports that previously spun forever now download and play.
sanylax0
approved these changes
Sep 10, 2026
sanylax0
left a comment
Collaborator
There was a problem hiding this comment.
good job back to the lobby
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
YouTube playlist imports hang in an endless preparing/retry loop. Device logs show every download failing and re-resolving forever:
Root cause: YouTube changed their player in August; the pinned July YouTubeKit revision (
7cc8190) produces stream URLs that now 403 on fetch. Re-resolving can't help — every URL from the old client is rejected, so the queue's (correct) expired-URL recovery loops indefinitely.Fix
Bump the pin to
e5b7d03— upstream's 2026-08-18 fix (alexeichhorn/YouTubeKit#140: updated web client versions, visionOS player client preference, web-embedded fallback).Verification
On device (iPhone18,2, iOS 26): a playlist import that previously spun forever on every track now downloads, analyzes, and plays; ingest logs show zero
streamURLExpiredfailures over the observation window.Note: builds resolving
mainfresh already get the fixed revision — this records the known-good pin so stale SPM caches (which is how the July revision survived locally) can't quietly resurrect the bug.🤖 Generated with Claude Code