So there's an easy way to grab headlines, but I couldn't find a way to grab the content that appears in that headline. There's even a set_section_content but no get_* functions.
There's also a children method, but only gives me headlines?
The only way I can see how to do this, is with iter, which goes through the entire file, and then I need to filter it out somehow. Which sounds a bit cumbersome to do.
I was wondering if there was an easier way to grab the section content for a specific headline?
Hi,
I might've missed something obvious here :grin:
So there's an easy way to grab headlines, but I couldn't find a way to grab the content that appears in that headline. There's even a
set_section_content
but noget_*
functions.There's also a
children
method, but only gives me headlines?The only way I can see how to do this, is with
iter
, which goes through the entire file, and then I need to filter it out somehow. Which sounds a bit cumbersome to do.I was wondering if there was an easier way to grab the section content for a specific headline?
Thanks in advance!