From cbd6729c17d382cf1bb60375558148c2202c77f9 Mon Sep 17 00:00:00 2001 From: Marco D'Agostini Date: Sat, 27 Jun 2020 18:54:11 -0500 Subject: [PATCH] Improved installing instructions and added `Usage:` section --- install youtube-dl in android.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/install youtube-dl in android.md b/install youtube-dl in android.md index c567eba..a46ef05 100644 --- a/install youtube-dl in android.md +++ b/install youtube-dl in android.md @@ -21,8 +21,6 @@ https://termux.com/ ## Youtube-dl + sharing + dialog **(Recommended)** -After sharing a URL to termux, a dialog will appear so you can choose to download video or just audio - ```bash # Ask for storage permission termux-setup-storage && @@ -58,9 +56,21 @@ After sharing a URL to termux, a dialog will appear so you can choose to downloa chmod +x ~/bin/termux-url-opener ``` +- Paste the script above 🖢 in the Termux console and press Enter +- A prompt to enable storage will appear, press y then Enter +- That's all!, just wait for it to finish upgrading/installing + +### Usage: + +Share an URL to termux, a dialog will ask you to choose if download **video** or just **audio** + ## Youtube-dl + sharing -After sharing URL to termux this will automatically download the video. But if you always want just audio, replace `youtube-dl $url` with `youtube-dl -x $url` +### Usage: + +Share URL to termux, this will automatically download the video. + +But if you always want to download just audio, replace `youtube-dl $url` with `youtube-dl -x $url` in the script below 🖣 ```bash # Ask for storage permission