diane/azuracast-fixes
yt-dlp now solves YouTube JS challenges via external EJS scripts (yt-dlp-ejs package). A bare yt-dlp from PyPI does not include them, and remote fetching is disabled by default, so images built after the EJS migration download nothing and fail with HTTP 403 while metadata and playlists keep working. Pin yt-dlp[default] so yt-dlp-ejs ships in the image, and pass --remote-components ejs:github so solver scripts refresh at runtime when YouTube rotates challenges.
ParkerBot
ParkerBot is a Matrix bot that monitors a channel for YouTube links and generates weekly playlists from them. It also sends YouTube link titles to the channel it's in.
Running locally
- Clone the repo
- Install the dependencies, preferably in a venv:
uv venv --python 3.14 --seed source .venv/bin/activate uv pip install -r requirements.txt - Copy example.env to
.env, customize it. - Source
.env:source .env - Execute the app:
./main.py
Running as a container
- Customize the compose.yml if necessary, you might want to change the data volume's path or make it a named volume.
- Copy example.env to
.envand customize it. - Run locally as described above at least once on a machine with a web browser.
This is needed to get a valid
token.picklefor YouTube. Copy it to the data directory where you want to run the container. - Run the container, this is an example with
podman-compose:podman-compose up -d
Description
Matrix bot that generates YouTube playlists from links in a channel.
1.3 MiB
0 Stars
1 Watchers
0 Forks
Languages
Python
98.4%
Dockerfile
1.6%