From 17feaf846486f0312fe523bd4fced4dfb1c83a5e Mon Sep 17 00:00:00 2001 From: z66 <1415243231@qq.com> Date: Thu, 16 Oct 2025 11:41:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9ERSS=E8=AE=A2=E9=98=85?= =?UTF-8?q?=E6=94=B6=E9=9B=86=E5=99=A8=EF=BC=8C=E6=94=AF=E6=8C=81=E4=BB=8E?= =?UTF-8?q?=E5=A4=9A=E4=B8=AARSS=E6=BA=90=E8=8E=B7=E5=8F=96=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=B9=B6=E5=86=99=E5=85=A5MySQL=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=EF=BC=8C=E5=90=8C=E6=97=B6=E6=B7=BB=E5=8A=A0=E4=BA=86?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E4=BB=A5?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E9=A1=B9=E7=9B=AE=E9=83=A8=E7=BD=B2=E5=92=8C?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E8=AE=BE=E7=BD=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/deployment.xml | 15 +++++++++++++++ .idea/material_theme_project_new.xml | 12 ++++++++++++ .idea/webServers.xml | 14 ++++++++++++++ collectors/{news_api.py => rss_subscriptions.py} | 2 +- 4 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 .idea/deployment.xml create mode 100644 .idea/material_theme_project_new.xml create mode 100644 .idea/webServers.xml rename collectors/{news_api.py => rss_subscriptions.py} (99%) diff --git a/.idea/deployment.xml b/.idea/deployment.xml new file mode 100644 index 0000000..dbd02bf --- /dev/null +++ b/.idea/deployment.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/material_theme_project_new.xml b/.idea/material_theme_project_new.xml new file mode 100644 index 0000000..28f5858 --- /dev/null +++ b/.idea/material_theme_project_new.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/.idea/webServers.xml b/.idea/webServers.xml new file mode 100644 index 0000000..c7cfc8a --- /dev/null +++ b/.idea/webServers.xml @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/collectors/news_api.py b/collectors/rss_subscriptions.py similarity index 99% rename from collectors/news_api.py rename to collectors/rss_subscriptions.py index e47d4c0..afc0e52 100644 --- a/collectors/news_api.py +++ b/collectors/rss_subscriptions.py @@ -234,7 +234,7 @@ class NewsAPIClient: return new_last_update - # news_api.py 中的 write_to_database 方法可以保持简洁 + # rss_subscriptions.py 中的 write_to_database 方法可以保持简洁 def write_to_database(self, df: pd.DataFrame) -> Dict[str, Any]: if df.empty: self.logger.info("没有新数据需要写入数据库")