Skip to content

refactor(extract): unify host routing into explicit HostRule registry - #9

Open
Cybernetic-Ransomware wants to merge 14 commits into
mainfrom
refactor/arch-extractors
Open

refactor(extract): unify host routing into explicit HostRule registry#9
Cybernetic-Ransomware wants to merge 14 commits into
mainfrom
refactor/arch-extractors

Conversation

@Cybernetic-Ransomware

@Cybernetic-Ransomware Cybernetic-Ransomware commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace separate host sets/maps with an explicit HostRule registry
  • Add routing modes for custom, jwplayer, ytdlp, and unsupported hosts
  • Route Pixeldrain directly to yt-dlp to avoid false JWPlayer fallback warnings
  • Add UnsupportedHostError and JavaScriptRequiredError
  • Keep unknown hosts on the existing JWPlayer → yt-dlp fallback path
  • Add dispatch tests for registry modes, error hierarchy, and Pixeldrain routing

Verification

  • CI passes

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.

1 participant