how to extract id

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
jiri

how to extract id

Post by jiri » Mon Oct 10, 2005 2:18 pm

how can i extract id from looping e.g. http://www.iopus.com/showproduct?id=345,346,347...
the id is only in url, not on the page. I can not extract it directly from contant page. Thanks.
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Post by Tech Support » Mon Oct 10, 2005 3:36 pm

You can extract the current page URL using

SET !EXTRACT {{!URLCURRENT}}

and then parse the URL for the id you need.

For more detailes please see http://www.iopus.com/iim/help/faq_extract_page_url.htm

PS: Use SET !EXTRACTADD instead of SET !EXTRACT if you need to extract other values as well.
Post Reply