tiktok-scraper icon indicating copy to clipboard operation
tiktok-scraper copied to clipboard

Better file metadata handling

Open mkrasnitski opened this issue 3 years ago • 2 comments

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.

mkrasnitski avatar Jul 09 '21 20:07 mkrasnitski

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.

alscaldas avatar Jul 10 '21 18:07 alscaldas

Thank you the parameters work so well.

UnixCro avatar Jul 21 '21 07:07 UnixCro