0

I need a Mac app that can crawl a live website and do a text search (and, as a bonus, a source code search) and report the results.

Surely something like this exists. Help!

1 Answer 1

-1

When I needed to do this I used AppleScript to feed the text to BBEdit which has a full POSIX regex and excellent AppleScript support. You can probably do it with Automator as well and simply use due shellscript to pipe the text through your regex.

3
  • Care to share !
    – Ruskes
    Commented Sep 16, 2014 at 19:53
  • Unless you can provide the details, this isn't really what I was looking for.
    – Sam
    Commented Sep 17, 2014 at 2:16
  • Well, this isn't really the palce to post a lot of Applescript, but the command I used was tell safari to set TheUrl to URL of document 1 as string and then I used do shell script "curl \"" & TheUrl & "\"" and then set PageSource to the result From there, it's scripting BBEdit to massage the source code.
    – lbutlr
    Commented Sep 18, 2014 at 22:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .