How can I scrape an HTML table to CSV?

后端 未结 11 1354
悲&欢浪女
悲&欢浪女 2020-11-29 21:56

The Problem

I use a tool at work that lets me do queries and get back HTML tables of info. I do not have any kind of back-end access to it.

A lot of this inf

11条回答
  •  旧时难觅i
    2020-11-29 22:12

    If you're screen scraping and the table you're trying to convert has a given ID, you could always do a regex parse of the html along with some scripting to generate a CSV.

提交回复
热议问题