Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
improve def of current file and prev file, and improve doc
datawhoreseecfde6aa791
diff --git a/cyberdrop_dl/ui/prompts/settings_global_prompts.py b/cyberdrop_dl/ui/prompts/settings_global_prompts.pyindex c5676e972..cc12b643c 100644--- a/cyberdrop_dl/ui/prompts/settings_global_prompts.py+++ b/cyberdrop_dl/ui/prompts/settings_global_prompts.py@@ -240,7 +240,7 @@ together during deduplication processkeep_current = inquirer.select(message="What to do with new file when deduping: ",- long_instruction="Keep a curent file. Current files are files that were either downloaded or dedupe_already_downloaded is true and the file was skipped for already existing",+ long_instruction="Keep a curent file. Current files are files that were either downloaded or a file was skipped for already existing when dedupe_already_downloaded is true",default=manager.config_manager.global_settings_data['Dupe_Cleanup_Options']['keep_new_download'],choices=[Choice(True,"Keep a newfile"),Choice(False,"Delete all new files")],vi_mode=manager.vi_mode,diff --git a/docs/reference/configuration-options/global-settings.md b/docs/reference/configuration-options/global-settings.mdindex aef64c975..10a185ba3 100644--- a/docs/reference/configuration-options/global-settings.md+++ b/docs/reference/configuration-options/global-settings.md@@ -132,6 +132,9 @@ Allows files skipped for already existing on the filesystem to be added to the l* delete\_after\_downloadThis toggles the deduping process, which happens after all downloads have finished+only current files are processed and deduped across all files in the hash database++current files are files that were either downloaded or a file was skipped for already existing when dedupe_already_downloaded is true***@@ -142,15 +145,20 @@ With this set as True. Files can be hash after each download, rather than all to**** keep_new_download-If enabled for each hash and size match one download will be kept on the system.++If enabled for each hash and size match one current file will be kept on the systemIf disabled all current files will be deleted if the following is all true- The file did not exist on the filesystem prior to the current run- keep prev_download is set to true, this ignores if file exists on the filesystem or not- The hash must have already existing on the system prior to the current run+Current files are files that were either downloaded or a file was skipped for already existing when dedupe_already_downloaded is true+* keep\_prev\_download-prev downloads are files that are match with the list of files to be processed. A previous download is one not processed by the urls given and that exists in the database for the same hash and file size+prev downloads are files that are match with the hash and size given, and are not a part of the current files list++Current files are files that were either downloaded or a file was skipped for already existing when dedupe_already_downloaded is trueIf enabled then at least one existing previous download will be kept on system.If not enabled all previous downloads will be deleted