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())