Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/data/data/com.termux/files/usr/bin/bash
- export XDG_RUNTIME_DIR='/data/data/com.termux/files/usr/tmp/runtime-u0_a547'
- export RUNLEVEL=3
- echo "For Download --write-auto-subs in En press 1"
- echo "For Download --write-auto-subs in Te press 2"
- echo "For Download YouTube video Description press 3"
- read option
- if [ "$option" -eq "1" ]
- then
- cd ~/storage/shared/Description/Auto-SubT-English;ls
- echo -e "Downloading video description please wait .... \n"
- yt-dlp -i --skip-download --write-auto-subs -o '%(playlist)s/%(title)s.%(ext)s' $1;ls;sleep 7
- elif [ "$option" -eq "2" ]
- then
- cd ~/storage/shared/Description/Auto-SubT-Telugu;ls
- echo -e "Downloading video description please wait .... \n"
- yt-dlp -i --skip-download --write-auto-subs --sub-langs te -o '%(playlist)s/%(title)s.%(ext)s' $1;ls;sleep 7
- elif [ "$option" -eq "3" ]
- then
- cd ~/storage/shared/Description/;ls
- echo -e "Downloading video description please wait .... \n"
- yt-dlp -i --skip-download --write-description $1;ls;sleep 7
- fi
- #elif [ "$option" -eq "24" ]
- #then
- # cd ~/storage/shared/IAS/TheHindu/;ls
- # echo -e "$pwd\n Downloading web content ...."
- # ls
- # echo -e "paste here your single url"
- # THAu
- # echo -e "your single url data downloaded"
- # rm New*
- # sleep 3
- #/storage/emulated/0/Study-Materials/DristiIASm4a
- #elif [ "$option" -eq "21" ]
- #then
- # cd /data/data/com.termux/files/home/storage/shared/Study-Materials
- # ls
- # echo -e "Downloading web content ...."
- # TheHinduArticle > $(touch $(echo "$(date +%A%d-%B-%Y-Time-%I-%M).txt"))
- # txt2pdf --font /data/data/com.termux/files/home/DroidSerif-Regular.ttf $(echo "$(date +%A%d--%B-%Y-Time-%I-%M).txt") -o $(echo "$(date +%A%d-%B-%Y-Time-%I-%M).pdf")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement