Closed tosirisuk closed 1 year ago
What is the benefit of adding the user's ID to the start of the file?
This also changes the README to instruct people to clone your fork rather than this repo - presumably that's a mistake? It also adds an instruction to install playwright, but that is already in requirements.txt. Did it not install when you tried it?
The current download filename format is
name = f"{dt_string}_{tiktok_id}"
The proposing format is
name = f"{uniqueId}_๘_{dt_string}_{tiktok_id}"
The
uniqueId
is theusername
of the TikTok userAdding the Tiktok content user
uniqueId
to the beginning of each file, and followed by the_๘_
string to separate theuniqueId
and the rest of the filename. We use_๘_
instead of plain_
since some user has theiruniqueId
ends with underscore_
which could lead to a future bug of string separation (split).