Skip to content

Get title of a URL from its HTML

Choose a tag to compare

@wolfram77 wolfram77 released this 16 Nov 11:49
· 4 commits to main since this release

Get title of a URL from its HTML.


$ node index.js urls.txt -o titles.md
# Generated URL titles saved to titles.md

$ export DEVTOOLS_PATH="/path/to/chrome-linux/chrome"
$ export DEVTOOLS_DATA_DIR="/path/to/chrome-linux/data-dir"
$ node index.js urls.txt -o titles.md --unique
# Generated URL titles saved to titles.md, with unique URLs

$ node index.js urls.txt -o titles.md --unique --sort
# Generated URL titles saved to titles.md, with unique and sorted URLs


References





ORG