wwwrep
is a command line tool (web-crawler) for searching text in entire website.
wwwgrep https://dsheiko.com "Puppetry 3"
This example will return a list of all the pages that contain the given keyword.
wwwgrep <url> <keyword>
where:
base URL (e.g. https://dsheiko.com) keyword to look for (e.g. Puppetry)
Install using npm - we recommend a global install:
npm install -g wwwgrep
NOTE: If you install under sudo
, do not forget about access permissions:
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}
See details at http://npm.github.io/installation-setup-docs/installing/a-note-on-permissions.html