Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have creating a simple workflow in Automator which will extract text from a list of URLs and save them into one text file.

The actions are:

  • Get Specified Text
  • Get Text from Webpage
  • New Text File

Whenever there is a problem with one of the URLs, Automator throws an error and stops working - is it possible to make it ignore the problem URL and continue?

share|improve this question

Could you use curl or wget instead?

for u in $(cat urls.txt); do curl -L "$u"; done > output.txt
brew install wget
wget -i urls.txt -U mozilla -O output.txt
share|improve this answer
Im sorry, I have absolutely no idea what you are talking about...even Automator is a struggle for me to understand. Can you advise what I would do with the above code? – henry Feb 27 '13 at 13:00
OP included a terminal command in their answer. Since it's a bit over your head, I'd recommend following Philippe's answer. – Zach Latta Feb 28 '13 at 2:29

The reason is, the "Get Specified Text" does not allow returns (if you are putting more than one line of text).

In order for me to fix this problem (mine was similar), I found an automator text actions pack on line and bought it (really cheap). You can find it here:

share|improve this answer
Thanks I have just bought the text actions pack....but I am having the same problem. I have this setup:The problem is when any supplied URL has a timeout. Is there a way to set a condition where it attempts to retrieve the text, but if unable, moves onto the next URL. – henry Feb 28 '13 at 3:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.