Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/data/data/com.termux/files/usr/bin/bash
- name=$(echo $1 | grep -Eo '[^/]+$')
- cd /data/data/com.termux/files/home/storage/shared/Youtube-Jukebox
- ls
- echo -e "Enter folder name u want Entering Into the creating directory"
- read folder
- echo -e "please wait creating directory"
- mkdir $folder-$(echo "$(date +%d-%A-%m-%B-%Y-%X%P)" | sed 's, ,-,g')
- ls
- read creatf
- cd $creatf
- echo -e "please wait .txt jukebox files downloading.... \n"
- echo "--embed-thumbnail --no-part --no-warnings --no-mtime -o '$(pwd)/%(title)s -- %(uploader)s.%(ext)s' -f 140 -i --external-downloader aria2c --external-downloader-args '-c -x 16 -s 16 -k 1M --file-allocation=none'" > ~/.config/youtube-dl/config
- cd ..
- ls
- while read file;do youtube-dl ytsearch:"$file jukebox";done < ~/storage/shared/Youtube-Jukebox/$name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement