Commit Graph

1 Commits (478780ddfbf6e17beb3846f4f2a7ce66fa33116e)

Author SHA1 Message Date
Dimitri Roschkowski 478780ddfb Fix YouTube downloads failing with 403 by updating Python and adding Deno
yt-dlp deprecated Python 3.10, which is what the Ubuntu 22.04 base image
ships, and now requires a JavaScript runtime to solve YouTube's player
challenges. Without one, extraction falls back to the android_vr client
and every YouTube download fails with "HTTP Error 403: Forbidden".

- Move the base image to Ubuntu 24.04 (Python 3.12)
- Fetch Deno in the utils stage and ship it in the final image
- Replace the pip install of pycryptodomex with python3-pycryptodome,
  which drops the build-essential install/purge dance entirely
- Remove the default "ubuntu" user of 24.04, which occupies UID/GID 1000
- Bump libicu70 to libicu74 for TwitchDownloaderCLI
- Document the Python and JavaScript runtime requirements

Deno does not publish armv7 binaries, so the fetch script skips that
architecture and the image is built without a JS runtime there, same as
before.

Fixes #1168
1 month ago