Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Quick tour Colab notebook not working #181

Open
rodrigo-92 opened this issue Jan 19, 2024 · 1 comment
Open

Quick tour Colab notebook not working #181

rodrigo-92 opened this issue Jan 19, 2024 · 1 comment

Comments

@rodrigo-92
Copy link

Hi, I'm getting the following error in the cell where get_form_by_ticker is called.

HTTPError: 403 Client Error: Forbidden for url: http://www.sec.gov/cgi-bin/browse-edgar?CIK=rgld&Find=Search&owner=exclude&action=getcompany

Could you please help me how to solve this issue?

Thanks.

@mcleanalec
Copy link

mcleanalec commented Jan 24, 2024

Changing the "company" and "email" params (to anything else) in the get_form_by_ticker function worked for me.

text = get_form_by_ticker(
    'rgld', 
    '10-K', 
    company='new company, 
    email='new value'
)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants