We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Need user agent as explained in jadchaar/sec-edgar-downloader#77.
headers = {"User-Agent": "Company Name [email protected]"} response = requests.get(TEXT_URL, headers=headers) if response.status_code == 200: content_html = response.content.decode("utf-8") else: print(f"HTML from {TEXT_URL} failed with status {response.status_code}") soup = BeautifulSoup(response.content, 'lxml')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Need user agent as explained in jadchaar/sec-edgar-downloader#77.
The text was updated successfully, but these errors were encountered: