SkillAgentSearch skills...

Htmltable2csv

htmltable2csv is a tool to parse a html table and store the data as csv. It can be written to a file or print out to stdout

Install / Use

/learn @paulvollmer/Htmltable2csv
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"> <img src="https://fonts.gstatic.com/s/i/materialicons/business/v1/24px.svg" height="96"/> <h3 align="center"> htmltable2csv </h3> <p align="center"> <code>htmltable2csv</code> is a tool to parse a html table and store the data as csv, written to a <code>file</code> or print to <code>stdout</code>. </p> <p align="center"> <a href="https://github.com/paulvollmer/htmltable2csv/actions?query=workflow%3ACI"><img alt="CI" src="https://github.com/paulvollmer/htmltable2csv/workflows/CI/badge.svg"> </a> <a href="https://github.com/paulvollmer/htmltable2csv/releases"><img alt="Software Release" src="https://img.shields.io/github/v/release/paulvollmer/htmltable2csv.svg?style=flat-square"></a> <a href="/LICENSE"><img alt="Software License" src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square"></a> </p> </p>

Installation

Using go get
go get -u github.com/paulvollmer/htmltable2csv
Using homebrew
brew install paulvollmer/tap/htmltable2csv
Manually

Download your preferred flavor from the releases page and install manually.

Usage

Usage: htmltable2csv [flags]

Flags:
  -csv string
    	The csv filename. if empty, print csv to stdout
  -selector string
    	The table css selector
  -source string
    	The filepath or website url
  -start int
      The row to begin data result
  -stop int
      The row to end data result
  -trim
    	Trim the whitespace for each table column
  -v	Print the version and exit

Examples:
  htmltable2csv \
  -source 'https://www.w3schools.com/html/html_tables.asp' \
  -selector '#customers > tbody > tr' \
  -csv data.csv \
  -start 0 \
  -stop 3

License

MIT License

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated1y ago
Forks3

Languages

Go

Security Score

75/100

Audited on Nov 23, 2024

No findings