Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

page.Tables() not returning certain table contents #106

Open
divanvb opened this issue Jan 17, 2019 · 2 comments
Open

page.Tables() not returning certain table contents #106

divanvb opened this issue Jan 17, 2019 · 2 comments

Comments

@divanvb
Copy link
Contributor

divanvb commented Jan 17, 2019

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

@dijs
Copy link
Owner

dijs commented Feb 19, 2019

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

@gavinr
Copy link

gavinr commented Oct 26, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants