Scrape HTML tables to .csv files, from your terminal.
Program accepts an http url and downloads HTML tables contained as .csv files.
Install (from crates.io)
cargo install htable2csv
Run
htable2csv https://www.w3schools.com/html/html_tables.asp
Help
htable2csv -h
htable2csv 0.1.1
Kostas L. <[email protected]>
Scrapes HTML tables from the web!
USAGE:
htable2csv <uri> [ARGS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
ARGS:
<uri> Http page url to be scraped. (Required)
<out_dir> Relative path for the folder to place the output. (Optional)
<prefix> File prefix for the output files for each table. (Optional)