fix(potoken): verify provider up + dump formats on "format not available"#105
Merged
Merged
Conversation
…ilable" Progress: with fresh cookies #771 now passes the age gate, but the preview fails "Requested format is not available" — which usually means the po_token provider isn't actually serving (authenticated SABR formats stay hidden). node runs on amd64 (verified), so the provider *should* be up; we just couldn't see it (its log was redirected to a hidden file) or what formats yt-dlp sees. - entrypoint: log the provider to stdout and poll its /ping so startup prints "po_token provider ready on :4416" (or a WARNING if it never answers). - download_preview: on a "format is not available" failure, run `yt-dlp -F` and log the available formats — distinguishes "no formats" (po_token down) from "selector miss". - broaden the preview format (add 720p avc1 + any-audio fallbacks) in case the authenticated SABR set lacks a <=480p avc1+m4a pair. Verified the rebuilt image logs the provider ready on boot. 321 passed; ruff clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Progress — with fresh cookies, #771 now passes the age gate; the preview now fails
Requested format is not available, which usually means the po_token provider isn't serving (authenticated SABR formats stay hidden). node runs on amd64 (verified), so it should be up — but we couldn't see it (its log was hidden) or what formats yt-dlp sees./ping→ boot printspo_token provider ready on :4416(or a WARNING if it never answers).yt-dlp -Fand log the formats — tells "no formats" (po_token down) from "selector miss".Verified the rebuilt image logs the provider ready on boot. 321 passed, ruff clean.
🤖 Generated with Claude Code