wiki icon indicating copy to clipboard operation
wiki copied to clipboard

page.Tables() not returning certain table contents

Open divanvb opened this issue 6 years ago • 2 comments

Hi

The page.tables() method doesn't return some table contents in the correct way. I've checked the page template and it seems similar to other pages that has all the content returned with the page.tables() functions. It's weird!

URL for reproducing the issue: https://cod-esports.gamepedia.com/Evil_Geniuses

divanvb avatar Jan 17 '19 09:01 divanvb

Sorry I have been late to reply here.

It looks like this wikimedia site uses a strange form of tables.

It does not follow the normal table code which the rest of wikipedia does.

So, it looks like I may have to parse both implementations separately...

I will try and figure out why this page is having issues.

Until then, be aware this type of "table" is now accessible in the wiki.page.lists() method

dijs avatar Feb 19 '19 07:02 dijs

I am having a similar (maybe the same?) issue.

Take this page as an example. It has three tables on it.

The second table works fine:

image

The third table works fine:

image

Issue with First Table

But the first table, though, does not work very well - I assume because it has the first "header" row: image

gavinr avatar Oct 26 '19 17:10 gavinr