How do I export html table data as .csv file?

前端 未结 8 1189
轮回少年
轮回少年 2020-11-29 19:27

I have a table of data in an html table on a website and need to know how to export that data as .csv file.

How would this be done?

8条回答
  •  被撕碎了的回忆
    2020-11-29 20:09

    I've briefly covered a simple way to do this with Google Spreadsheets (importHTML) and in Python (Pandas read_html and to_csv) as well as an example Python script in my SO answer here: https://stackoverflow.com/a/28083469/1588795.

提交回复
热议问题