This commit is contained in:
cwx committed 2025-01-04 21:49:03 +08:00
1 parent 92c5bc19b0
commit c04e9a45c2
4 files changed
+74 -24

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ class RmComicSpider(scrapy.Spider):
# 循环遍历根据配置文件自动解析并注入的章节名和章节链接
new_chapter = oldUtils().new_files(files=comic_item.get_chapters(), folder=cbz_dir)
# 清理多余章节
oldUtils().clean_old_files(files=comic_item.get_chapters(), folder=cbz_dir, move_folder=move_folder)
# oldUtils().clean_old_files(files=comic_item.get_chapters(), folder=cbz_dir, move_folder=move_folder)
for chapter, link in zip(comic_item.get_chapters(), comic_item.get_chapter_href()):
if ComicPath.chinese_convert(ComicPath.fix_file_name(chapter)) in new_chapter:
# 打包导出item数据