Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion beanprice/sources/alphavantage.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _do_fetch(params):
resp = requests.get(url="https://www.alphavantage.co/query", params=params)
data = resp.json()
# This is for dealing with the rate limit, sleep for 60 seconds and then retry
if "Note" in data:
if "Note" in data or "Information" in data:
sleep(60)
resp = requests.get(url="https://www.alphavantage.co/query", params=params)
data = resp.json()
Expand Down