Skip to content
New issue

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

Download extension file #53

Open
tsauliu opened this issue Jan 21, 2021 · 2 comments
Open

Download extension file #53

tsauliu opened this issue Jan 21, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@tsauliu
Copy link

tsauliu commented Jan 21, 2021

thanks for such an amazing python package!

a small advice:
in many cases the extension file contains the most important informations, could you add the option for us to download the extension file?

image

screenshot link: https://www.sec.gov/Archives/edgar/data/1754581/000110465920127100/0001104659-20-127100-index.htm

@tsauliu tsauliu changed the title add function to download add function to download extension file Jan 21, 2021
@jadchaar jadchaar changed the title add function to download extension file Download extension file Jan 21, 2021
@jadchaar
Copy link
Owner

Thanks for using the package @tsauliu :).

This is closely related to my comment here: #41 (comment). Sadly the EDGAR Search API does not provide download links for documents beyond the full text submission and filing details, so I will need to resort back to a fragile scraping approach in combination with the API to accomplish this. I do think it is worth it though, so I will look into it going forward!

@tsauliu
Copy link
Author

tsauliu commented Jan 27, 2021

Hi @jadchaar
I think you dont have to scape these extension files.

these extenstion file have the fixed structure,for example:

extension file: https://www.sec.gov/Archives/edgar/data/1754581/000110465920061090/a20-19544_1ex99d1.htm
orginal 6k file: https://www.sec.gov/Archives/edgar/data/1754581/000110465920061090/a20-19544_16k.htm

i think you just have to replace 6k with ex99d1 then you got the html url

hope it helps, thanks for the package again !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants