Image extraction by LOOP on iMacros site

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
robotech
Posts: 8
Joined: Sun Dec 01, 2019 1:39 pm

Image extraction by LOOP on iMacros site

Post by robotech » Fri Dec 06, 2019 9:01 am

iMacros VERSION BUILD=8970419
OS:Windows10 64bit
BROWSER:Firefox 52.9.0
using.

Hello. iMacros beginner.

Click View More to open the first page and extract 6 images.
But,I clicked View More to open the second page,I clicked View More to open the third page,
why,Three images of the top page are extracted.

https://imacros.net/#prettyPhoto

And The 3rd page that you click on more details has 4 images, can you extract according to the number of images on the page like this?

https://imacros.net/overview/data-extraction/

SET !LOOP 1
SET POS_Nb {{!LOOP}}
ADD POS_Nb 1
TAG POS={{POS_Nb}} TYPE=IMG ATTR=SRC:* CONTENT=EVENT:SAVEITEM
ADD POS_Nb 1
TAG POS={{POS_Nb}} TYPE=IMG ATTR=SRC:* CONTENT=EVENT:SAVEITEM
ADD POS_Nb 1
TAG POS={{POS_Nb}} TYPE=IMG ATTR=SRC:* CONTENT=EVENT:SAVEITEM
ADD POS_Nb 1
TAG POS={{POS_Nb}} TYPE=IMG ATTR=SRC:* CONTENT=EVENT:SAVEITEM
ADD POS_Nb 1
TAG POS={{POS_Nb}} TYPE=IMG ATTR=SRC:* CONTENT=EVENT:SAVEITEM
ADD POS_Nb 1
TAG POS={{POS_Nb}} TYPE=IMG ATTR=SRC:* CONTENT=EVENT:SAVEITEM
Post Reply