From 67dadbf0444557982eb9c690252f599ce0245e8e Mon Sep 17 00:00:00 2001 From: masterbatcoderman10 Date: Fri, 10 Apr 2026 19:41:07 +0530 Subject: [PATCH] fix: upgrade yt-dlp>=2026.3.17 to resolve YouTube SABR 403 errors YouTube started enforcing SABR streaming which blocks older yt-dlp versions (2025.10.14 and below) with 'HTTP Error 403: Forbidden'. The /api/info metadata endpoint still works but /api/download fails. Fix: pin minimum yt-dlp version in requirements.txt and use pip install --upgrade-deps so the venv setup always pulls latest. Closes #8. --- reclip.sh | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reclip.sh b/reclip.sh index cd20d50..6387a8d 100755 --- a/reclip.sh +++ b/reclip.sh @@ -35,7 +35,7 @@ if [ ! -d "venv" ]; then echo "Setting up virtual environment..." python3 -m venv venv source venv/bin/activate - pip install -q flask yt-dlp + pip install -q --upgrade-deps flask yt-dlp else source venv/bin/activate fi diff --git a/requirements.txt b/requirements.txt index 558431a..6d1288a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ flask -yt-dlp +yt-dlp>=2026.3.17