Fix radio downloads: ship EJS solver scripts and allow runtime refresh #2

Open
Diane wants to merge 2 commits from Diane/parkerbot:diane/radio-ejs-fix into master
pull from: Diane/parkerbot:diane/radio-ejs-fix
First-time contributor

yt-dlp now solves YouTube JS challenges via external EJS scripts (yt-dlp-ejs package); a bare PyPI yt-dlp does not include them and remote fetching is disabled by default. Images built after the EJS migration fail every download with HTTP 403: Forbidden (radio only - playlists keep working).

  • yt-dlp[default] in requirements so the matching yt-dlp-ejs ships in the image
  • --remote-components ejs:github so solver scripts refresh at runtime when YouTube rotates challenges

Verified: fresh venv install from requirements.txt includes yt-dlp-ejs; challenge-solver warnings gone with the package present. Rebuild the image and restart to apply.

yt-dlp now solves YouTube JS challenges via external EJS scripts (yt-dlp-ejs package); a bare PyPI yt-dlp does not include them and remote fetching is disabled by default. Images built after the EJS migration fail every download with `HTTP 403: Forbidden` (radio only - playlists keep working). - `yt-dlp[default]` in requirements so the matching yt-dlp-ejs ships in the image - `--remote-components ejs:github` so solver scripts refresh at runtime when YouTube rotates challenges Verified: fresh venv install from requirements.txt includes yt-dlp-ejs; challenge-solver warnings gone with the package present. Rebuild the image and restart to apply.
Diane added 1 commit 2026-09-03 15:31:13 +02:00
yt-dlp now solves YouTube JS challenges via external EJS scripts (yt-dlp-ejs package); a bare PyPI yt-dlp does not include them and remote fetching is disabled by default. Images built after the EJS migration therefore fail every download with HTTP 403 while playlists keep working. Use yt-dlp[default] so the matching yt-dlp-ejs ships in the image, and pass --remote-components ejs:github so solver scripts refresh at runtime when YouTube rotates challenges.
Diane added 1 commit 2026-09-03 15:38:33 +02:00
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u https://git.afk.pm/Diane/parkerbot diane/radio-ejs-fix:Diane-diane/radio-ejs-fix
git checkout Diane-diane/radio-ejs-fix
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: afk/parkerbot#2