1 Reply Latest reply: Jun 3, 2013 4:31 PM by Camelot
applehelp001 Level 1 Level 1 (0 points)

I am new to automator and don't have experience with scripting could someone please help me with this problem?


Is there a way using automator, to get urls from an image on a webpage then extract all but the image name and format, and concatenate the extracted url with my own extension to get the image.  For example:


If these are existing images on a webpage







but there are additional images not displayed on the webpage, but can be displayed if you manually enter a url





is there a way to automate getting image 6, 7, and 8?


I want to take



and add it to an text file containing my extentions



to get



I am open to any suggestions!!

Mac Pro, OS X Mountain Lion (10.8.3)

Mac Pro, OS X Mountain Lion (10.8.3)
  • Camelot Level 8 Level 8 (46,395 points)

    What you describe is potentially do-able, but you're missng one important piece of information - just how do you know these images exist if you don't have the URLs?


    Are you just guessing that the numbers are sequential and that images 6, 7, and 8 exist just because images 1 through 5 do? What about if the numbers are not consecutive? How far do you look ahead? What if they don't follow the pattern at all?


    In short, you need to more clearly define the rules of how you determine which URLs to (try to) retrieve. Only then can you formulate any kind of script to automate the process.