#table #html #csv #scrape #parse #html-parser #cli

app htable2csv

Convert and parse HTML tables to .csv files

3 releases

0.1.2 May 2, 2021
0.1.1 Apr 18, 2021
0.1.0 Apr 6, 2021

#22 in #scrape

MIT license

11KB
103 lines

htable2csv

crates.io

Scrape HTML tables to .csv files, from your terminal.

Description:

Program accepts an http uri 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. <konlampro94@gmail.com>
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)

Dependencies

~18–27MB
~431K SLoC