Closed mariohmol closed 4 years ago
Hi,
i'm trying to use this to the get thi table values
https://en.wikipedia.org/wiki/COVID-19_pandemic_by_country_and_territory#covid19-container
But doest returns the values of the columns, (coutries), it always returns the same value.. check it out
{ '0': '8,275', 'Saint Pierre & Miquelon': '290', '297,682': '5,058', '1,562,673': '[85]' }, { '0': '8,175', 'Saint Pierre & Miquelon': '229', '297,682': '7,114', '1,562,673': '[88]' },
This is the code:
tabletojson.convertUrl( 'https://en.wikipedia.org/wiki/COVID-19_pandemic_by_country_and_territory', function (tablesAsJson) { console.log(tablesAsJson[1]); } );
Using this options works:
{useFirstRowForHeadings: true},
Maybe use true as default?
thanks
Hi,
i'm trying to use this to the get thi table values
https://en.wikipedia.org/wiki/COVID-19_pandemic_by_country_and_territory#covid19-container
But doest returns the values of the columns, (coutries), it always returns the same value.. check it out
This is the code: