Skip to content

dellalibera/titlextractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Extract <title> tag from HTML page

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages