Skip to content

Commit

Permalink
下载的封面图重命名为 cover.jpg
Browse files Browse the repository at this point in the history
  • Loading branch information
yodhcn committed Jan 2, 2023
1 parent 5af74f7 commit bb74ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit bb74ceb

Please sign in to comment.