Skip to content
Snippets Groups Projects
Unverified Commit 996a0abe authored by Avi K's avatar Avi K Committed by GitHub
Browse files

fix: sec_filings reader when making requests to sec.gov (#13548)

parent f5b2ab51
No related branches found
No related tags found
No related merge requests found
...@@ -332,6 +332,7 @@ class SECExtractor: ...@@ -332,6 +332,7 @@ class SECExtractor:
{ {
"User-Agent": f"{company} {email}", "User-Agent": f"{company} {email}",
"Content-Type": "text/html", "Content-Type": "text/html",
"Host": "www.sec.gov",
} }
) )
return session return session
...@@ -29,7 +29,7 @@ license = "MIT" ...@@ -29,7 +29,7 @@ license = "MIT"
maintainers = ["Athe-kunal"] maintainers = ["Athe-kunal"]
name = "llama-index-readers-sec-filings" name = "llama-index-readers-sec-filings"
readme = "README.md" readme = "README.md"
version = "0.1.3" version = "0.1.4"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = ">=3.8.1,<4.0" python = ">=3.8.1,<4.0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment