joeyism / py-edgar

A small library to access files from SEC's edgar
GNU General Public License v3.0
227 stars 52 forks source link

get_documents does not return string of content, returns ELEMENT HTML instead #13

Closed joezein closed 4 years ago

joezein commented 4 years ago

Hi,

In the documentation it mentions this should return the content. However I've been getting html elements. Please see attached.

How do we fix that?

Screen Shot 2020-06-25 at 11 00 23 AM

I need the content in strings.

joeyism commented 4 years ago

Yea that's on purpose. If you want the text, take each Element and run elem.text_content()