refactor(app): 将 account_archive 更新为 author_archive

This commit is contained in:
2025-03-21 20:54:57 +08:00
parent c43f3ad23e
commit f332b3fb2d
10 changed files with 30 additions and 19 deletions

View File

@@ -65,7 +65,7 @@ class Manager:
live_download: bool,
download_record: bool,
folder_mode: bool,
account_archive:bool,
author_archive:bool,
_print: bool,
):
self.root = root
@@ -116,7 +116,7 @@ class Manager:
self.image_download = self.check_bool(image_download, True)
self.video_download = self.check_bool(video_download, True)
self.live_download = self.check_bool(live_download, True)
self.account_archive = self.check_bool(account_archive, False)
self.author_archive = self.check_bool(author_archive, False)
def __check_path(self, path: str) -> Path:
if not path:

View File

@@ -27,7 +27,7 @@ class Settings:
"live_download": False,
"folder_mode": False,
"download_record": True,
"account_archive": False,
"author_archive": False,
"language": "zh_CN",
}
encode = "UTF-8-SIG" if system() == "Windows" else "UTF-8"