-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmya.sh
34 lines (27 loc) · 952 Bytes
/
mya.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
#sin
RED=$(tput setaf 1)
GREEN=$(tput setaf 2)
CYAN=$(tput setaf 6)
WHITE=$(tput setaf 7)
begin=$(date +"%s")
echo -e "${RED}
_____
/ \ ___.__._____ ____ ____ ____
/ \ / < | |\__ \ / \_/ __ \_/ __ \
/ Y \___ | / __ \| | \ ___/\ ___/
\____|__ / ____|(____ /___| /\___ >\___ >
\/\/ \/ \/ \/ \/
"
echo " Sin . (bash autoconvert ytID to mp3 directly)"
#get
read -p "${WHITE}YTvideoID (justid): " kode
echo -e "\n"
read -p "${WHITE}${kode} Continue? (Y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || exit 1
echo -e "reading source for /${GREEN}$kode ..
${WHITE}"
start https://ytmp3.eu/files/downloadc.php?file=${kode}.mp3;
#length
termin=$(date +"%s")
difftimelps=$(($termin-$begin))
echo "${WHITE}$(($difftimelps / 60)) minutes and $(($difftimelps % 60)) sec. elapsed ${RED}nhentai stealer"