Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Ask HN: How can you recursively grep a website?
1 points
wolfparade
14y ago
3 comments
Save
Share
I want to use a regular expression on a whole domain. What is the easiest way to do that?
3 comments
3 comments · 2 top-level
top
newest
oldest
saiko-chriskun
14y ago
· 1 in thread
yep either just use google, or download the site as mentioned and use:
grep myTerm path/to/mysite/
saiko-chriskun
14y ago
hm looks like ycombi parsed out my asterisks. at the end of the path should've been two.
kevinburke
14y ago
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.
j
/
k
navigate · click thread line to collapse