[Issue]: Missing text value's when parsing Wikivoyage children
MarketingPip opened this issue · 2 comments
MarketingPip commented
When using .sections() normally, you can see the templates with text properly parsed from Wiki Markup. But when calling using .children() values are returning as ''
.
spencermountain commented
Thanks Jared, can you give an example so I can reproduce this?
Thanks
MarketingPip commented
My apologizes - I was making improper usage of "wtf_wikipedia". I was calling .children() & "text" key(s) are returning empty in "_templates" for the objects.
Which I should have been calling doc.children()[my_index_here].json()
to access the templates instead of doc.children()[my_index_here]
My stupidity.
Thanks for quick reply & hope you had an awesome thanksgiving Spencer, cheers!