htmltable2csv

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2018 License: MIT Imports: 4 Imported by: 0

README

htmltable2csv

Introduction

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.

Installation

Manually

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

Using go get
go get -u github.com/paulvollmer/htmltable2csv

Usage

Usage: htmltable2csv [flags]

Flags:
  -csv string
    	The csv filename. if empty, print csv to stdout
  -selector string
    	The table css selector
  -url string
    	The website url
  -v	Print the version and exit

Examples:
  htmltable2csv -url 'https://www.w3schools.com/html/html_tables.asp' -selector '#customers > tbody > tr' -csv data.csv

License

MIT license

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL