I admit that I am a newbie. I was using Python based scrapers before but that does not help now because I have to schedule it and I need a cloud service.
So, my problem is about scraping a table. It should be an easy task but I do not get it set up.
I am only able to get the header and not the table content.
There should be an obvious mistake but I am too blind to see it.
Url: https://www.worldometers.info/coronavirus/
I need the detailed table.
Any help is appreciated.
Sitemap:
{"_id":"corona2","startUrl":["https://www.worldometers.info/coronavirus/"],"selectors":[{"id":"corona2","type":"SelectorTable","parentSelectors":["_root"],"selector":"table#main_table_countries_today","multiple":false,"columns":[{"header":"Country,Other","name":"Country,Other","extract":true},{"header":"TotalCases","name":"TotalCases","extract":true},{"header":"NewCases","name":"NewCases","extract":true},{"header":"TotalDeaths","name":"TotalDeaths","extract":true},{"header":"NewDeaths","name":"NewDeaths","extract":true},{"header":"TotalRecovered","name":"TotalRecovered","extract":true},{"header":"ActiveCases","name":"ActiveCases","extract":true},{"header":"Serious,Critical","name":"Serious,Critical","extract":true},{"header":"Tot Cases/1M pop","name":"Tot Cases/1M pop","extract":true}],"delay":0,"tableDataRowSelector":"tbody tr","tableHeaderRowSelector":"thead tr"}]}