🐯删除多余缓存文件夹,防止堆史山

This commit is contained in:
柳神 2024-10-29 20:53:05 +08:00
parent cfbf13bffa
commit a736d8d897
5 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ def deal_with_large_data(result):
# 检查文章数量是否大于 200 # 检查文章数量是否大于 200
if len(article_data) > 200: if len(article_data) > 200:
print("数据量较大,开始进行处理") print("数据量较大,开始进行处理···")
# 获取前 200 篇文章的作者集合 # 获取前 200 篇文章的作者集合
first_200_authors = {article["author"] for article in article_data[:200]} first_200_authors = {article["author"] for article in article_data[:200]}