From 544650bb773a84f5b6f2659412fbd25373c4d44e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9A=93=E6=9C=88=E5=BD=92=E5=B0=98?= Date: Fri, 7 Feb 2025 23:04:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=AD=E5=9B=BD?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E6=8A=A5=EF=BC=8C=E4=B8=AD=E5=9B=BD=E6=95=99?= =?UTF-8?q?=E8=82=B2=E6=8A=A5=E9=87=87=E9=9B=86=E6=97=A5=E6=9C=9F=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 国内党媒/CrawlZhongguohuanjingbao.py | 1 + 1 file changed, 1 insertion(+) diff --git a/国内党媒/CrawlZhongguohuanjingbao.py b/国内党媒/CrawlZhongguohuanjingbao.py index 71d7f5b..3d79cee 100644 --- a/国内党媒/CrawlZhongguohuanjingbao.py +++ b/国内党媒/CrawlZhongguohuanjingbao.py @@ -67,6 +67,7 @@ async def getData(start_date: datetime, end_date: datetime): months = [] # 从开始日期到结束日期,每个月份都添加到列表中 current_date = start_date + current_date = current_date.replace(day=1) while current_date <= end_date: months.append(current_date) # 增加一个月