mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2026-03-22 06:57:16 +08:00
refactor(app): 将 account_archive 更新为 author_archive
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user