rouze-d / tiktok-download

Simple TikTok Video / Photo Downloader
41 stars 8 forks source link

Can't download anything #3

Open DanielZhu03 opened 3 years ago

DanielZhu03 commented 3 years ago

Hi, I was keep getting this error when I use “tik.sh” or “tok.sh” to download vids

Just like this

$ bash tik.sh https://www.tiktok.com/@conniestiktok/video/6886578441467088130
tik.sh: line 52: wget: command not found
rouze-d commented 3 years ago

sudo apt install wget

DanielZhu03 commented 3 years ago

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

rouze-d commented 3 years ago

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

rouze-d commented 3 years ago

and update. i just change a few thing tik.sh

DanielZhu03 commented 3 years ago

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.

DanielZhu03 commented 3 years ago

sc

UnixCro commented 2 years ago

same