From 935fcf1c6007ea42796ae81b914d5d99da5586f7 Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Tue, 21 Feb 2023 14:58:37 +0800 Subject: [PATCH] Update webapp.py --- searx/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/webapp.py b/searx/webapp.py index 8df1ef86f..c9247d7bf 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -754,7 +754,7 @@ def search(): if 'content' not in res: continue if 'title' not in res: continue if res['content'] == '': continue - new_url = 'https://url'+str(len(url_pair)+1) + new_url = 'https://url'+str(len(url_pair)) url_pair.append(res['url']) res['title'] = res['title'].replace("التغريدات مع الردود بواسطة","") res['content'] = res['content'].replace("Translate Tweet. ","")