Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't download anything #3

Open
DanielZhu03 opened this issue Dec 4, 2020 · 7 comments
Open

Can't download anything #3

DanielZhu03 opened this issue Dec 4, 2020 · 7 comments

Comments

@DanielZhu03
Copy link

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
Copy link
Owner

rouze-d commented Dec 4, 2020

sudo apt install wget

@DanielZhu03
Copy link
Author

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
Copy link
Owner

rouze-d commented Dec 5, 2020

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
Copy link
Owner

rouze-d commented Dec 5, 2020

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

@DanielZhu03
Copy link
Author

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
Copy link
Author

sc

@UnixCro
Copy link

UnixCro commented Dec 30, 2021

same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants