jeaniem
asked on
Download Images from URL list with Automator
Hi,
I've followed various tutorials that in some cases seem to get quite close, but never close enough:
I have a list of URL's that represent images that - if I wish - I can view and download via my browser.
The only prob is that the list I have is about 1000 rows: Automator can follow and download one at a time it seems, except that when I paste in 2+ to Get Specified Text it fails.
My feeling is that this is to do with the way that rows are delimited by Automator at the text to URL conversion stage.
I have tried csv, tab-delimited and copying out of excel: no joy: can anybody think of why this is stumbling over?
Many thanks in advance.
I've followed various tutorials that in some cases seem to get quite close, but never close enough:
I have a list of URL's that represent images that - if I wish - I can view and download via my browser.
The only prob is that the list I have is about 1000 rows: Automator can follow and download one at a time it seems, except that when I paste in 2+ to Get Specified Text it fails.
My feeling is that this is to do with the way that rows are delimited by Automator at the text to URL conversion stage.
I have tried csv, tab-delimited and copying out of excel: no joy: can anybody think of why this is stumbling over?
Many thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It's working!
Thank you very much indeed - I might note that the files that come down need to be renamed with .png in order to produce an image: they're not very pretty with .txt written after!
I can't believe how hard it's been to find a solution for this on mac if you're no whiz at scripting or other: it's possible that the line wraps had something to do with this however.
Many thanks indeed.
Thank you very much indeed - I might note that the files that come down need to be renamed with .png in order to produce an image: they're not very pretty with .txt written after!
I can't believe how hard it's been to find a solution for this on mac if you're no whiz at scripting or other: it's possible that the line wraps had something to do with this however.
Many thanks indeed.
ASKER
Thank you very much indeed!
The line "set newFile to folderpath & (the last text item of theURL)" just uses the original name of the file as the downloaded file name. I don't know why it would end up being named with a txt extension, unless it already has one.
In any event, if you change that line to:
set newFile to folderpath & (the last text item of theURL) & ".png"
it will tack the png extension to the end of each file name.
In any event, if you change that line to:
set newFile to folderpath & (the last text item of theURL) & ".png"
it will tack the png extension to the end of each file name.
ASKER
Great!
Thank you very much again - massive help!
AF
Thank you very much again - massive help!
AF
One program I use when I run in a windows environment is FlashGet. http://www.flashget.com
I haven't had any problems at all downloading various file types with this app.