Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.08 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.08 KB

TitleXtractor

This tool takes a list of urls and extracts the content of <title> tag.


Dependencies

titlextractor needs golang.org/x/net/html package in order to parse HTML.

go get -u golang.org/x/net/html

Install

go get -u github.com/dellalibera/titlextractor/

Usage

Parameter Description
-t Specify the request timeout (expressed in seconds - default 20s)
-f Boolean value used to decide to follow or not redirections (default false)
-n Number of concurrent workers (default 20)
-c Boolean value used to color the output (default false)

Examples

cat urls.txt | titlextractor -f -c

titlextractor


Resources

I was inspired by:


License

MIT