dijs / infobox-parser

Parse Wikipedia Infoboxes
40 stars 18 forks source link

Content from infobox returns value 'hlist' instead of actual value #22

Open NyWn opened 4 years ago

NyWn commented 4 years ago

If a wiki page has an infobox item with a div class of hlist and hlist-separated, then the value is returned as "hlist" instead of the actual content, this doesn't occur if the div only has the hlist class. I noticed this behavior while using your other library, wikijs, specifically the function fullInfo().

A page that returns "hlist" value for 'genre': https://en.wikipedia.org/wiki/Nirvana_(band) One that does not: https://en.wikipedia.org/wiki/Donald_Glover