All-in-one Download Script for Termux (URL Opener)
Dependencies: ffmpeg, youtube-dl, python, wget, spotdl, yt-dlp, rbtv-dl, bandcamp-dl, you-get, termux-api
Termux:API APK (and its homonymus termux pkg) are eventually needed to comfortably share the streamable URL (of the media URL you target) with any compatible app (like a media player, for instance).
"Send" the target URL to Termux by any Android native "sharing" intent you'd like.
Launch Termux, then:
download and run the install script
curl -s "https://raw.githubusercontent.com/NotesOfReality/Termux_url_opener_all_in_one_downloader/WIP/install.sh" > install.sh && bash install.sh
- or run the install script line by line
This script is blank sensitive. Therefore options 3
and 3
are treated differently, while the former will launch option 3 the latter is invalid and will launch the default option.
Updated on Jul 31 2021: Changed relative path to absolute path to avoid path errors.
Updated on Jul 16 2021: Added RedBull TV and Bandcamp artist support. Replacing youtube-dlc with yt-dlp.
Updated on Nov 2 2020: Add you-get as an option for downloading
Updated on Nov 2 2020: Add support for subtitle embedding
Updated on Nov 1 2020: Add youtube-dlc as an option for downloading
Updated on Jun 18 2020: Change YouTube to mp3 audio quality to best available.
Updated on Jun 13 2020: Change spotdl Output format from flac to mp3.
Updated on Jun 12 2020: Added Spotify Support and youtube-dl Audio Conversion.