From 3985565a79d27d89694fac9329d07b79ea985a92 Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Wed, 1 Mar 2023 13:43:30 +0800 Subject: [PATCH] c --- searx/webapp.py | 2 +- searx/webapp1.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/webapp.py b/searx/webapp.py index 5c48b4dbb..5e91406b8 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -1219,7 +1219,7 @@ function modal_open(url) optkeytext = { method: "POST", headers: headers, - body: JSON.stringify({'text':article.content}) + body: JSON.stringify({'text':article.textContent}) }; fetchRetry('https://search.kg/keytext',3,optkeytext) .then(response => response.json()) diff --git a/searx/webapp1.py b/searx/webapp1.py index 5c48b4dbb..5e91406b8 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -1219,7 +1219,7 @@ function modal_open(url) optkeytext = { method: "POST", headers: headers, - body: JSON.stringify({'text':article.content}) + body: JSON.stringify({'text':article.textContent}) }; fetchRetry('https://search.kg/keytext',3,optkeytext) .then(response => response.json())