wiki
wiki copied to clipboard
call to page.tables() doesn't return this type of table
the wiki is https://it.wiktionary.org/w/api.php, the call:
...
let data = await wiki({ apiUrl: 'https://it.wiktionary.org/w/api.php' }).page('gatto');
console.log(await data.tables());
...
it prints [] I also tried with other methods, but i can't find a way to return the table data
Looks like this is a custom component in their MediaWiki.
The source for that table is as such:
{{Tabs|gatto|gatti|gatta|gatte}}
Our internal parser should be able to handle parsing that, but not as a table. I will look into it.
I need more info!