Skip to content

Ask HN: How can you recursively grep a website?

1 pointwolfparade3 comments
On HN

I want to use a regular expression on a whole domain. What is the easiest way to do that?

Comments

Google's site: operator... or write a crawler to parse all within-site text links, download the site source into files on your machine and then grep.

yep either just use google, or download the site as mentioned and use:

grep myTerm path/to/mysite/

hm looks like ycombi parsed out my asterisks. at the end of the path should've been two.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.