Downloading Images

Information related to the use of iMacros for Web Scraping, Data Mining and creating Mashups.

Moderator: iMacros Moderators

Downloading Images

by Tech Support on Thu Nov 09, 2006 1:33 am

Downloading images from a website can be done in a number of ways:

1) Use savepictureas feature by adding the CONTENT attribute to a TAG command, as described in the online user manual:

TAG POS=1 TYPE=IMG ATTR=HREF:http://www.iopus.com/ CONTENT=EVENT:SAVEPICTUREAS

2) Extract the URL of the image and display this in the browser. Use SAVEAS to save the image.

Code: Select all
VERSION BUILD=5211028
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=[i]yourwebsite[/i]
SIZE X=801 Y=624
'extract the URL of the image eg.
EXTRACT POS=6 TYPE=HREF ATTR=<IMG<SP>alt=*
URL GOTO={{!EXTRACT}}
SAVEAS TYPE=CPL FOLDER=* FILE=*


Daniel Kerr
iOpus Support
User avatar
Tech Support
 
Posts: 5003
Joined: Tue Sep 20, 2005 12:25 pm

Dynamic HTML image

by TaeWoo on Wed Jan 09, 2008 6:50 pm

Hi Tech Support.
What if the image is written to the page dynamically by JavaScript? HOw do we do that?
TaeWoo
 
Posts: 2
Joined: Wed Jan 09, 2008 6:46 pm


Return to How-To's and Examples for Web Scraping

Who is online

Users browsing this forum: No registered users and 1 guest

-->