We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05b5846 commit fc4bbe8Copy full SHA for fc4bbe8
sec_api/index.py
@@ -169,7 +169,7 @@ def get_pdf(self, url):
169
response = requests.get(_url, proxies=self.proxies)
170
if response.status_code == 200:
171
return response.content
172
- elif response.status_code == 429:
+ elif response.status_code == 429 or response.status_code == 202:
173
# wait 500 * (x + 1) milliseconds and try again
174
time.sleep(0.5 * (x + 1))
175
else:
setup.py
@@ -5,7 +5,7 @@
5
6
setup(
7
name="sec-api",
8
- version="1.0.24",
+ version="1.0.25",
9
author="SEC API",
10
author_email="support@sec-api.io",
11
description="SEC EDGAR Filings API",
0 commit comments