extract URLs from websites on the command line
grepurl is a command line tool that extracts URLs from a website (or a local HTML file).
grepurl http://example.com/ grepurl -a http://example.com/foo.htm # only extract from <a> tags (i.e. links) grepurl -i http://example.com/bar.htm # only extract from <img> tags (i.e. images) grepurl -r "\.py$" http://example.com/ # only extract links that end in '.py'
GPLv2 or later.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.