From 5fcca9f70e5074e506ed5bb420cdb212c59839b9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 23 Apr 2026 11:11:44 +0000 Subject: [PATCH] feat: replace pip with uv for yt-dlp installation Agent-Logs-Url: https://github.com/USBAkimbo/Random/sessions/216058a7-b070-476b-8fff-995b9f4a869d Co-authored-by: USBAkimbo <71508071+USBAkimbo@users.noreply.github.com> --- Android/.profile | 2 +- Android/README.md | 2 +- Android/setup.sh | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Android/.profile b/Android/.profile index 7a530a7..29d4b73 100644 --- a/Android/.profile +++ b/Android/.profile @@ -14,7 +14,7 @@ alias myip="curl ipinfo.io/ip" alias dl="cd /storage/emulated/0/Download" # Update all packages -alias update-all="pkg update -y && pkg upgrade -y && apt autoremove -y && pip install -U yt-dlp" +alias update-all="pkg update -y && pkg upgrade -y && apt autoremove -y && uv tool upgrade yt-dlp" # Additional DNS servers echo "nameserver 10.10.9.1" >> $PREFIX/etc/resolv.conf diff --git a/Android/README.md b/Android/README.md index d350ea8..33f62b9 100644 --- a/Android/README.md +++ b/Android/README.md @@ -6,7 +6,7 @@ - Termux URL opener for downloading YouTube videos at 360p, 720p and 1080p - Termux URL opener for downloading videos from any site that works with yt-dlp - Termux URL opener for downloading songs from anything that works with yt-dlp -- Script to update all pkg and pip packages +- Script to update all pkg and uv packages # Requirements - [F-Droid (alternate to Play Store)](https://f-droid.org/) diff --git a/Android/setup.sh b/Android/setup.sh index 70aecdd..e45ec65 100644 --- a/Android/setup.sh +++ b/Android/setup.sh @@ -17,7 +17,9 @@ pkg update -y pkg upgrade -y pkg install wget -y pkg install -y python ffmpeg nmap jq -yes | pip install -U "yt-dlp[default]" +curl -LsSf https://astral.sh/uv/install.sh | sh +source "$HOME/.local/bin/env" +uv tool install --upgrade "yt-dlp[default]" # Download main scripts to home folder wget https://raw.githubusercontent.com/USBAkimbo/Random/master/Android/pka-downloader.sh