Open DanielZhu03 opened 3 years ago
sudo apt install wget
sudo apt install wget
wget just kept showing missing URL
like the following
$ bash tik.sh https://www.tiktok.com/@conniestiktok/video/6886578441467088130
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
And I checked my wget, it worked fine. When I ran 'tik.sh', the $down
is empty, I don't know why
wget error to get output from line: 47
(down=`curl -s -k --cookie $pwd/.t_cookie.txt --url https://www.tiktok.com/node/share/video/$c/$b --user-agent 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36' --connect-timeout 90 | tr '"' '\n' | grep -i -E 'video_mp4' | tail -n 1`)
try install curl:
sudo apt install curl
and update. i just change a few thing tik.sh
I used Git to run the code on windows, I think Git already installed curl. And I updated your new 'tik.sh' file, but still got the same error.
same
Hi, I was keep getting this error when I use “tik.sh” or “tok.sh” to download vids
Just like this