From bb74ceb54385df259c8cf94a1200d479c330dddb Mon Sep 17 00:00:00 2001 From: yodhcn <47470844+yodhcn@users.noreply.github.com> Date: Mon, 2 Jan 2023 22:36:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E7=9A=84=E5=B0=81=E9=9D=A2?= =?UTF-8?q?=E5=9B=BE=E9=87=8D=E5=91=BD=E5=90=8D=E4=B8=BA=20cover.jpg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/yodhcn/dlsite-doujin-renamer/issues/12 --- scraper/scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper/scraper.py b/scraper/scraper.py index 9c17950..9e361d4 100644 --- a/scraper/scraper.py +++ b/scraper/scraper.py @@ -225,7 +225,7 @@ def scrape_icon(self, rjcode: str, cover_url: str, icon_dir: str): 下载图片并生成.ico文件 """ icon_name = f'@folder-icon-{rjcode}.ico' - jpg_name = f'{rjcode}.jpg' + jpg_name = 'cover.jpg' icon_path = Path(os.path.join(icon_dir, icon_name)) jpg_path = Path(os.path.join(icon_dir, jpg_name))