pikami / tiktok-dl Goto Github PK
View Code? Open in Web Editor NEWA simple tiktok video downloader written in go
License: MIT License
A simple tiktok video downloader written in go
License: MIT License
Hi,
I can't seem to pass multiple arguments to the script
example:
tiktok-dl-master.exe -metadata -archive sophia.ilysm
only works with one option:
tiktok-dl-master.exe -metadata sophia.ilysm
Hi,
Thanks for sharing this!
Is it possible to download top videos by hashtag rather than user? @pikami
How do I run this? It went from Python to a new language?
I've noticed that sometimes the tool gets stuck at "Preloading...", but it was fairly rare.
Yesterday, I started getting that all the time. Tried two different machines, two different ip's. Nothing gets past "Preloading..."
Tiktok changed something or what could be the problem?
I have not had this problem before. I tried reinstalling everything, but it did not help
When I try to download a link like this:
./tiktok-dl -output /media/videos Downloaded https://www.tiktok.com/@vbadest_beauty/video/6808887309245730054
I get the following:
Error: encountered exception 'Uncaught' (111:24)
failed when scraping item: https://www.tiktok.com/@vbadest_beauty/video/6808887309245730054
the video have watermark, can this project get the tiktok video without watermark?
./tiktok-dl "username"
Error : exec: "google-chrome": executable file not found in $PATH
Failed while scraping item: "username"
The script will lag upon "preloading..." when the user isn't found (deleted, etc). I've tried setting a deadline of 60 seconds but then it just quits the entire script instead of continuing to the next user/line
Hi
a tiny feature request: would it be hard to add a download-archive file, so it can skip previously downloaded videos?
i run it on a server, but i store the videos elsewhere afterwards.
A list of working users will get "preloading...failed to get user uploaded...context deadline exceeded" when i set a -deadline of 10
when trying just 1 working username it gets stuck on preloading
if it can do this, that will be the best.
is also the go.mod
next release maybe you want to use the latest go when not much change needed on codebase
It just says preloading but then timesout after 11 minutes.
Windows64
Hello,
I did the following steps in trying to use the program in windows 10.
1)I followed the link to the releases and the downloaded the zip.
2)I extracted the contents onto a folder, it had 2 files: tiktok-dl and license
3)I tried to start the file using powershell as follows and got the error message:
./tiktok-dl lorengray
Error : exec: "google-chrome": executable file not found in %PATH%
Failed while scraping item: lorengray
My question is do I need to download or configure something else?
Thanks,
Awesome project <3
Can it download video by hashtag?
Can you add a features for downloading all videos under specified topics (challenge) or music?
For example: tiktok.com/music/xxxxxxxx
Download for a single user is stopped somewhere before 30 videos. Tested on multiple different accounts on 2 machines and they all give less than 30 returns.
When downloading from a list, it said "failed to get user uploads" then stops. It doesn't continue to the next user in the list. It also doesn't say which user so I can remove it from the list manually
First of all, This tool is amazing!
Would it be possible to add a custom command line parameter to customize the "context deadline." When I try to download an enormous music list the chrome step takes too long and it quits.
Here is the command I was using:
tiktok-dl.exe -metadata -debug https://www.tiktok.com/music/Snap-Em-Up-6623965005760957190
The output:
2020/01/29 15:01:33 context deadline exceeded /music/Snap-Em-Up-6623965005760957190
Maybe add a parameter like -deadline <seconds>
so we can download these massive music links.
Thanks!
This is probably by design, so feel free to close.
debug:
Preloading...
Retrieving items...
Error : "ERR: Couldn't find this account"
Failed while scraping item: 6927274884544335105
while that number is data-video-id , i am turning the headless mode off, the new site response is requires log-in.
while using username seems wait on loop.
As i new to go and this codebase, I am open to any input
Hey I ran into a bit of a problem today. I tried download by using username until it kept getting stuck on Preloading. It was working last night but now is having troubles. I tried using a vpn, a previous version, and also testing different usernames. Thanks and hope you can fix it.
P.S sorry this is sort of a duplicate issue but It was working perfectly yesterday and now it doesn't, was just wondering if something is wrong.
Tiktok-dl doesn't appear to grab usernames generated by tiktok. @30463788129 is an example. I can find the account online but it turns into a long string. https://www.tiktok.com/@MS4wLjABAAAAb1x2kDqMT6XWon1R93XAAfbpFzCd6e5E6STC-JDksrrTMatNy7-EH6YK5Y_sfT9q
Creating a share URL in the tiktok app doesn't appear to work with tiktok-dl either.
Is it possible to get a user’s following list?
I’ve seen this on github:
https://github.com/botsphp/tiktok_crawler
And didn’t understand how to use it correctly
Hi,
please make the script output usernames of failed downloads to a separate log file.
It would be nice if there was a command line option to download a list of users from a file.
First off, Thanks a lot for the wonderful tool. Been using a lot since last 2 days.
I am unable to use the -limit flag. Below is my example and it doesnt work.
tiktok-dl -limit 5 tiktokusername
And it doesnt limit to 5 videos, actually doesnt work and gives error - flag provided but not defined: -limit
P.S - Also, does this download videos in the highest available resolution possible ?
Thanks again
Hello @pikami,
I'm not sure how else to contact you since your website doesn't have email and GitHub doesn't have messaging.
I am wondering if it would be possible if you could create a seperate tool than Tiktok-dl that can export the list of users from a page. For example:
Title.
Replicate;
Output:
Preloading...
Retrieving items...
Error : "ERR: Couldn't find this account"
Failed while scraping item: users.txt
In the 2.0.0 release the tiktok-dl file has not extension type and doesn't run with cmd. Is it supposed to be this way?
Hello , Pikami, it seems the program not running well. I can not download the video of the tiktok user. Thanks
Would be helpful when tiktok-dl is a component in a larger process.
Thank you!
That would be also a great functionality.
Randomly when running tiktok-dl it will just get stuck on Preloading... Looking at the debug.log file it seems to not have permission to access some file even though it will work successfully some times.
The command I am running is "tiktok-dl -archive -output D:\tiktok\test -batch-file D:\tiktok\accounts.txt"
debug.log
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.