3 ms·
Do you have an example of how to turn an html table element into a CSV? I saw the open and the scrape commands, but wasn't sure where to go from there.
by throwaway_e9463 4y ago
Do you have an example of how to turn an html table element into a CSV? I saw the open and the scrape commands, but wasn't sure where to go from there.
- portInit 4y agoAh! We didn't quite get an html table command in this release but it will be in the next one. Here's a query that shows an option, but the table command will be far more straightforward. open https://www.w3schools.com/html/html_tables.asp https://www.w3schools.com/html/html_tables.asp --dimension || filter "(nodeName == 'TD')" || groupBy boundingClientRect.top || table _group.0.innerText _group.1.innerText _group.2.innerText