Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Temporal limits for external data
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrevinnoc committed Feb 7, 2021
1 parent 382459e commit fb8cb8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions future.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def fetchSearxResults():
except:
pass

return jsonify(result={"urls": resultURLsFromSearx})
return jsonify(result={"urls": resultURLsFromSearx[:15]})


@app.route('/_fetchSearxImages', methods=['GET'])
Expand Down Expand Up @@ -684,7 +684,7 @@ def fetchSearxVideos():
except:
pass

return jsonify(result={"videos": resultVideosFromSearx})
return jsonify(result={"videos": resultVideosFromSearx[:30]})


@app.route('/_retrieveImage')
Expand Down

0 comments on commit fb8cb8b

Please sign in to comment.