Repository navigation
Show yt-dlp's real error in worker logs and update yt-dlp - #33
Merged
Merged
Conversation
A YouTube download on the server failed with only "The source is unavailable, unsupported, or requires authentication." The adapter maps yt-dlp's stderr to that generic message and dropped the original, so the worker logs could not show that YouTube's bot check had blocked the server's IP. The stderr tail now rides along as the error's cause. The worker already logs the whole error, so the yt-dlp line shows up there. Stored rows and users still get only the message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a short landscape screen the sign-up form was taller than its h-full wrapper and its top was cut off above the scroll area. The download settings fieldset kept its min-content width and spilled out of its card at 375px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Downloading audio from YouTube failed with "The source is unavailable, unsupported, or requires authentication." The worker logs only had that same message, because the adapter replaced yt-dlp's stderr with it and threw the original away. Running yt-dlp by hand inside the deployed worker showed the real error: YouTube's "Sign in to confirm you're not a bot" check is blocking the server's IP.
This PR doesn't fix the block. That needs cookies or a residential proxy, which is a separate decision. It makes the next failure diagnosable:
cause. The worker already logs the whole error, so the real yt-dlp line shows up there. Users and stored rows still get only the message.min-h-dvh, so the sign-up form's top no longer gets cut off on a short landscape screen.min-w-0, so it no longer spills out of its card at 375px.Proof:
cause.tscandvp checkare clean.Reviewed with sol-loop: 1 round with gpt-6.2-sol. Sol verdict: approved
Created with Claude Opus 5.5 in Claude Code (T3 Code), reviewed by GPT-6.2 Sol.
🤖 Generated with Claude Code