Repository navigation
fix: tighten 403 retry and limit progressive skip to YouTube with DASH builder - #197
Merged
Merged
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #197 +/- ##
==========================================
+ Coverage 84.45% 84.65% +0.20%
==========================================
Files 14 14
Lines 2612 2601 -11
==========================================
- Hits 2206 2202 -4
+ Misses 406 399 -7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…H builder - _fetch_range: retry only on HTTP 403 with 3 s / 6 s backoff (the 9 s delay was never reached), drop the unreachable fallback paths. - Skip itag 18/22 only for YouTube results and only when the DASH builder can actually play the video (dashbuilder enabled and ISA supports mpd); users without the DASH builder or ISA keep the muxed fallback, and other extractors with numeric format ids are unaffected. - Tests for a persistent 403 and for the gated progressive skip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0182LKQrJ9qZVuZqoLxppVdG
firsttris
force-pushed
the
ccr-1332d384-9ub9jp
branch
from
October 20, 2026 04:45
5e5789c to
70f51c4
Compare
3 tasks done
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.
Follow-up to #196 by @zibaone:
_fetch_rangeretries only on HTTP 403, waiting 3 s and then 6 s (the 9 s delay was never reached). The unreachable fallback paths are removed.mpd). Users without the DASH builder or inputstream.adaptive keep the muxed fallback, and other extractors that use numeric format ids are not affected.pytest: 349 passed, 1 skipped.🤖 Generated with Claude Code
https://claude.ai/code/session_0182LKQrJ9qZVuZqoLxppVdG