tidyverse / rvest

Simple web scraping for R
https://rvest.tidyverse.org
Other
1.49k stars 343 forks source link

Gracefully handle tables with only empty rows #360

Closed epiben closed 9 months ago

epiben commented 2 years ago

Although it's an edge case, html_table now handles tables that consist of only empty rows, such as <table><tr></tr></table> and <table><tr></tr><tr></tr></table>. These kinds of tables are probably rare, but the issue was raised today, and so they evidently exist in the wild.

hadley commented 9 months ago

Thanks @epiben!