Published November 16, 2023
| Version 1.1.0
Software
Open
javascriptf/script-url-title: Get title of a URL from its HTML
Authors/Creators
Description
Get title of a URL from its HTML.
<br>
$ 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
<br> <br>
Usage
$ script-url-title [options] <input-file>
# Options:
# <input file> Input file with URLs.
# -o, --output <output file> Write output to file.
# -u, --unique Make URLs unique.
# -s, --sort Sort URLs.
# -t, --throttle <ms> Throttle requests.
# -h, --help Show this help message.
# Environment Variables:
# $DEVTOOLS_PATH Path to Chrome DevTools.
# $DEVTOOLS_DATA_DIR Path to Chrome DevTools data directory.
<br> <br>
References
<br> <br>
Notes
Files
javascriptf/script-url-title-1.1.0.zip
Files
(18.8 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:3b4fd2efc83e757fa6e253d3935397f9
|
18.8 kB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/javascriptf/script-url-title/tree/1.1.0 (URL)