dijs / wiki

Wikipedia Interface for Node.js
MIT License
315 stars 61 forks source link

Issue viewing tables / Infoboxes #155

Open PurpShell opened 3 years ago

PurpShell commented 3 years ago

Take for example the Minecraft Wiki: https://minecraft.fandom.com

As an example page: https://minecraft.fandom.com/wiki/Crafting_Table

if you try to edit it, you can see the source and that it actually has infobox data:

image

somehow, if I use the tables method on the page, I don't get any data at all.

If I use the fullInfo method, it only returns the general infobox and not the others :thinking:

PurpShell commented 3 years ago

image

niklasHagner commented 2 years ago

Yes, lots of pages return zero tables. For example:

I guess these are custom template tables. The html output seems to be a standard <table class="wikitable" but looking in the wikipedia Editor I can see the source code varies, they use custom 'tags'.