Transform HTML tables in a Web Page to CSV files.
Project description
HTMLTable2CSV
HTMLTable2CSV is a package for transforming HTML tables in a WebPage to CSV files.
Using as a package inside a project.
from htmltable2csv.htmltable2csv import Table2CSV
Table2CSV('http://example.com/page.html', 'csvfiles')
It will parse all the HTML tables in http://example.com/page.html and store theme in csvfiles directory.
Using as a utility from command line.
python3 -m htmltable2csv.htmltable2csv 'http://example.com/page.html' 'csvfiles'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
htmltable2csv-0.4.0.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for htmltable2csv-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fe2a3c03fc3e8431630ee5c43fdd35dd2eb8cb4cd6fe87ae06dc25417a7c71b |
|
MD5 | 644d8440e9c2b5c396bef2d88d9875e9 |
|
BLAKE2b-256 | 003d432f4a7fad95d08ef4eae4df3f700e25d16c7cd37cf4bb078dbc17912b3d |