Problems with LOOP function

Discussions and Tech Support related to the iMacros Google Chrome extension.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Problems with LOOP function

by user001 on Tue Sep 20, 2016 8:51 am

I have some troubles with my iMacros LOOP. The plan is to go to this website, search for a keyword and wait for the list of results. For example shoes See this link. See the saved HTML site

file:///Users/dave/Downloads/Schuhe%20eBay%20Kleinanzeigen.webarchive

My idea is to click on the first result and extract this to a csv file (cvs file is already set up and works fine. Once on the item page I want to extract the description / beschreibung and the URL which both works fine so far. See this:

file:///Users/dave/Downloads/description%20page.webarchive

Then go back and repeat the same steps for x amount of results.

The problem is that I can´t find the right code to extract the first result and loop through the rest of the results + extract each of them.

This is my code so far:

VERSION BUILD=9030808 RECORDER=FX
TAB T=1
SET !EXTRACT_TEST_POPUP NO
SET !ERRORIGNORE YES
URL GOTO=https://www.ebay-kleinanzeigen.de/s-anzeige/adidas-sport-freizeit-schuhe-gr-35/524737681-19-3157

**This should be the LOOP and titel extraction part***

**This is the part where the description and URL are extracted**
TAG POS=1 TYPE=P ATTR=ID:viewad-description-text EXTRACT=TXT
ADD !EXTRACT {{!URLCURRENT}}
SAVEAS TYPE=EXTRACT FOLDER=* FILE=extraction.csv

Hope someone can help me with this :) Thanks a lot!
user001
 
Posts: 10
Joined: Wed Jul 27, 2016 3:45 pm

Return to iMacros for Chrome

Who is online

Users browsing this forum: No registered users and 5 guests

-->