Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
re-enable keep prompt
datawhores7f0cfdf82aaf
diff --git a/cyberdrop_dl/ui/prompts/settings_global_prompts.py b/cyberdrop_dl/ui/prompts/settings_global_prompts.pyindex 6bac78ac7..e22f04429 100644--- a/cyberdrop_dl/ui/prompts/settings_global_prompts.py+++ b/cyberdrop_dl/ui/prompts/settings_global_prompts.py@@ -229,21 +229,29 @@ together during deduplication processchoices=[Choice(True,"True"),Choice(False,"False")],vi_mode=manager.vi_mode,).execute()- keep_current = inquirer.select(- message="Keep previously hashed files, rather than ones added/updated from current execution",+ keep_prev = inquirer.select(+ message="Keep at least 1 previously hashed file when unduping",long_instruction="""-previous marking indicates a file already in the database that passes the existing check, and does not match the list of files created or updated from the current links--If True, priority is given to files marked as previous-If False, keep the new file and move any matching previous files to the trash+ If False then all previously hashed files will be deleted, when a prev hash match is found""",- default=manager.config_manager.global_settings_data['Dupe_Cleanup_Options']['keep_prev_download'],+ default=manager.config_manager.global_settings_data['Dupe_Cleanup_Options']["keep"]['keep_prev_download'],choices=[Choice(True,"True"),Choice(False,"False")],vi_mode=manager.vi_mode,).execute()+ keep_current = inquirer.select(+ message="Keep at least 1 current file when unduping",+ long_instruction=+ """+ If False then all currently downloaded files will be deleted, when a prev hash match is found+ """,+ default=manager.config_manager.global_settings_data['Dupe_Cleanup_Options']["keep"]['keep_current_download'],+ choices=[Choice(True,"True"),Choice(False,"False")],+ vi_mode=manager.vi_mode,+ ).execute()+count_missing_files = inquirer.select(message="Counts moved/deleted files as a valid previous download",default=manager.config_manager.global_settings_data['Dupe_Cleanup_Options']['count_missing_as_existing'],@@ -264,6 +272,7 @@ If False, keep the new file and move any matching previous files to the trashmanager.config_manager.global_settings_data['Dupe_Cleanup_Options']['delete_after_download'] = delete_aftermanager.config_manager.global_settings_data['Dupe_Cleanup_Options']['hash_while_downloading'] = hash_while_downloading- manager.config_manager.global_settings_data['Dupe_Cleanup_Options']['keep_prev_download'] = keep_current+ manager.config_manager.global_settings_data['Dupe_Cleanup_Options']["keep"]['keep_prev_download'] = keep_prev+ manager.config_manager.global_settings_data['Dupe_Cleanup_Options']["keep"]['keep_current_download'] = keep_currentmanager.config_manager.global_settings_data['Dupe_Cleanup_Options']['count_missing_as_existing'] = count_missing_filesmanager.config_manager.global_settings_data['Dupe_Cleanup_Options']['dedupe_already_downloaded'] = dedupe_already_downloaded\ No newline at end of file