fdssfd
This commit is contained in:
parent
12b5748506
commit
8770e4aa93
6 changed files with 17 additions and 17 deletions
|
@ -19,4 +19,4 @@ def giphy(path=None):
|
|||
url = f"https://api.giphy.com/v1/gifs/search?q={searchTerm}&api_key={GIPHY_KEY}&limit=48"
|
||||
else:
|
||||
url = f"https://api.giphy.com/v1/gifs?api_key={GIPHY_KEY}&limit=48"
|
||||
return jsonify(requests.get(url).json())
|
||||
return jsonify(requests.get(url, timeout=5).json())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue