tiktok-scraper
tiktok-scraper copied to clipboard
Better file metadata handling
Is your feature request related to a problem? Please describe. When I see that a profile I actively archive has posted new videos, and go to download those new files, their entire profile is redownloaded, and the old files are overwritten.
Describe the solution you'd like First, it would be nice if only those files that are "new" were downloaded. In other words, once a video has been downloaded, and there already exists a file on disk with the same name, the entire download is stopped. Secondly, it would be great to set the "modified/created" timestamp of the file to the creation timestamp of the video on TikTok. This way, one could sort videos by date on their local machine, instead of just by file name.
No idea about the modification/creation thing but as for the logging of downloaded files I use a combination of two parameters (--store
and --historypath
) which allow me to log all the previously downloaded videos so that the next time I try do download from that same account it gets only the videos I still don't have. In fact they're documented on the README of the project.
Thank you the parameters work so well.