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("没有新数据需要写入数据库")