KJHJason / Cultured-Downloader

A project to automate the process of downloading images and other attachment files from platforms like Fantia and more!
GNU General Public License v3.0
72 stars 7 forks source link

Convert zip archive file to other formats like 7z #314

Open KJHJason opened 3 weeks ago

KJHJason commented 3 weeks ago

With options for exclusions based on creator and service. For instance, with ArtistA on Fantia as the exclusion, all posts downloaded under ArtistA will be ignored during the conversions.

It can help reduce the amount of space used.

KJHJason commented 3 weeks ago

Will need to create some sort of hidden file to indicate that the zip file has been downloaded to avoid downloading it again.

Additionally, will have to revamp the downloading of attachments. Currently, I am thinking of downloading only the attachment files to the user's temporary directory before moving them to the correct path after downloading. This will then avoid the conversion of a partially downloaded .zip to .other extensions like .7z

Other ideas I have would be to write another hidden file with the expected file size for the .zip file and check if it matches.

KJHJason commented 3 weeks ago

was overthinking, I could just check the .zip filename with the .7z file extension and check if it exists