Skip to content

fix: bypass YouTube consent redirects - #171

Merged
vycdev merged 1 commit into
vycdev:developfrom
vycdev2:fix/youtube-consent-bypass-20260829
Aug 29, 2026
Merged

fix: bypass YouTube consent redirects#171
vycdev merged 1 commit into
vycdev:developfrom
vycdev2:fix/youtube-consent-bypass-20260829

Conversation

@vycdev2

@vycdev2 vycdev2 commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add YouTube's consent-bypass parameters to canonical channel and handle scrape URLs
  • keep discarding user-provided queries while avoiding the consent-page redirect observed for unauthenticated requests
  • cover URL, schemeless, mobile, music, and bare-handle inputs

Verification

  • dotnet build — passed with 0 warnings and 0 errors
  • dotnet test --no-build — passed: 513 tests, 1 skipped, 0 failed
  • git diff --check — passed
  • live HTTP probe — the plain channel URL returned a consent redirect, while the canonical URL with cbrd=1&ucbcb=1 returned the channel page directly

Risk

  • Low: the change only affects resolver scrape URLs; direct channel IDs and video URLs retain their existing handling.

This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.

@vycdev
vycdev merged commit 68c65cb into vycdev:develop Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants