Last active
April 10, 2020 10:03
-
-
Save slotix/dccdabad485a38918bd4e48cc0226e38 to your computer and use it in GitHub Desktop.
COVID-19 information payload for Dataflow Kit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name":"COVID-19", | |
"request":{ | |
"url":"https://www.worldometers.info/coronavirus/", | |
"actions":[ | |
], | |
"type":"chrome" | |
}, | |
"commonParent":"tr[role]", | |
"fields":[ | |
{ | |
"name":"Country", | |
"selector":"#main_table_countries_today thead+ tbody td:nth-child(1)", | |
"attrs":[ | |
"text" | |
], | |
"type":1, | |
"filters":[ | |
{ | |
"name":"trim" | |
} | |
] | |
}, | |
{ | |
"name":"Total Cases", | |
"selector":"#main_table_countries_today .sorting_1", | |
"attrs":[ | |
"text" | |
], | |
"type":1, | |
"filters":[ | |
{ | |
"name":"trim" | |
} | |
] | |
}, | |
{ | |
"name":"New Cases", | |
"selector":"#main_table_countries_today .sorting_1+ td", | |
"attrs":[ | |
"text" | |
], | |
"type":1, | |
"filters":[ | |
{ | |
"name":"trim" | |
} | |
] | |
}, | |
{ | |
"name":"Total Deaths", | |
"selector":"#main_table_countries_today .sorting_1~ td:nth-child(4)", | |
"attrs":[ | |
"text" | |
], | |
"type":1, | |
"filters":[ | |
{ | |
"name":"trim" | |
} | |
] | |
}, | |
{ | |
"name":"New Deaths", | |
"selector":"#main_table_countries_today thead+ tbody td:nth-child(5)", | |
"attrs":[ | |
"text" | |
], | |
"type":1, | |
"filters":[ | |
{ | |
"name":"trim" | |
} | |
] | |
}, | |
{ | |
"name":"Total Recovered", | |
"selector":"#main_table_countries_today thead+ tbody td:nth-child(6)", | |
"attrs":[ | |
"text" | |
], | |
"type":1, | |
"filters":[ | |
{ | |
"name":"trim" | |
} | |
] | |
}, | |
{ | |
"name":"Active Cases", | |
"selector":"#main_table_countries_today thead+ tbody td:nth-child(7)", | |
"attrs":[ | |
"text" | |
], | |
"type":1, | |
"filters":[ | |
{ | |
"name":"trim" | |
} | |
] | |
} | |
], | |
"format":"json" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment