8 lines
319 B
Bash
8 lines
319 B
Bash
#!/bin/bash
|
||
# update-yt-dlp.sh – run by the worker container before every DAG execution
|
||
set -e
|
||
echo "[$(date)] Updating yt-dlp to latest nightly master..."
|
||
python3 -m pip install -U --pre "yt-dlp[default]" --upgrade-strategy eager --force-reinstall --no-cache-dir
|
||
echo "[$(date)] yt-dlp updated to:"
|
||
yt-dlp --version
|