From c421c885d4d4c3def92b9dd06521ae035b43d9dd Mon Sep 17 00:00:00 2001 From: mxr612 Date: Fri, 23 Aug 2024 01:57:09 +0800 Subject: [PATCH] upd rss config and dict --- config.json.sample | 4 +++- rss.py | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config.json.sample b/config.json.sample index bb65340..d1e7332 100644 --- a/config.json.sample +++ b/config.json.sample @@ -5,5 +5,7 @@ "mysql_host": "", "mysql_user": "", "mysql_password": "", - "semAPI": "semanticscholar API" + "semAPI": "semanticscholar API", + "miniflux_host": "", + "miniflux_api": "" } \ No newline at end of file diff --git a/rss.py b/rss.py index ca88153..6d87fe3 100644 --- a/rss.py +++ b/rss.py @@ -38,8 +38,7 @@ def load_rss(): loaded.append(entry['id']) uploads.append({ 'q': entry['title'], - 'a': entry['content'], - 'score':[] + 'a': entry['content'] }) count += 1 if len(loaded) >= 100 and upload2fastgpt(uploads):