diff --git a/searx/webapp.py b/searx/webapp.py index a6ebcecf3..5c48b4dbb 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -651,8 +651,8 @@ def health(): return Response('OK', mimetype='text/plain') -@app.route('/textrank', methods=['POST']) -def textrank(): +@app.route('/keytext', methods=['POST']) +def keytext(): res = [] text = request.json['text'] tr4s = TextRank4Sentence() @@ -1173,7 +1173,768 @@ const search_type = "''' + search_type + r'''" const net_search = ''' + net_search_str + r'''