Hi, I am sharing another python script made by an Anon that kindly authorized me to share it here. I wasn't sure if he wanted his mega link posted somewhere else so I reuploded it here :
This is a command line program. Pretty straight foward to use if you have already used similar scripts before (like ytp-dl that was posted in this thread). Still, if someone needs it I can make a step by step guide.
It is open source so feel free to check the code. I've been using it for a couple weeks now, no problem.
It also needs ffprobe, python, and the "requests" library. Pretty easy, more info in the README.txt or Requirements.txt.
This script cannot download stories, image posts, or private accounts (you can't give it your cookies).
However, besides those three missing features, it is still really powerful. The command at its simplest looks like this :
python awemer.py -u not.papadonks
This will download all of @not.papadonks 's videos in the highest resolution possible, in a folder named not.papadonks in the directory where the program is (if the folder doesn't exist, it will create it). The default filename for videos is VIDEO_ID.mp4, or VIDEO_ID~sd.mp4 if the video is low res (576x1024 or 1024x576).
Alternatively, you can feed it a list of usernames in a text file.
python awemer.py -u profiles.txt
Will download all of the videos of all of the profiles in profiles.txt (one username per line), each in their respective folder.
You can also use user ID instead of usernames, ie : python awemer.py -u 6998772783719285766
There are several parameters that you can add.
For exemple, -t to download all of the videos released after a certain date. For exemple, this will download every video released after the 15th of october 2023.
python awemer.py -u not.papadonks -t 2023-10-15
-u to change the directory, -p to use http proxy, -s to add video description to the filenames, -i to print user ID and secID, -ad to add the date to the filenames, -se to skip existing SD videos, -l to loop.
For more details on each parameter, check the readme in the mega link.
You can also use the executable instead of python. The command line then looks like this :
awemer.exe -u not.papadonks
I personally use this :
python awemer.py -u profiles.txt -t [yesterday's date]
"profiles.txt" contains all of the profiles that I follow (around 700), and I set the date to yesterday's date. I run this two or three times a day. This way, this downloads automatically every video released by all 700 accounts in the list, without me having to do anything.
Note that the API limit is 5000 requests per day. This is the case for all tiktok scrapers, not just this one. This is why there is an option for proxies. Like I said, I update 700 accounts per day, three times a day, and I don't hit the limit. The only time you might hit it is if you do a scrape of a large number of accounts with no -t parameter.