Extracting to CSV, if only some condition is True

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
hitechexport

Extracting to CSV, if only some condition is True

Post by hitechexport » Sat Dec 10, 2005 6:12 am

I want to extract data in to csv file. But need to extract only those data which match certain condition.

URL : http://www.gabar.org/directories/member ... +Directory

The Macro should click on every Name.
as page opens, its check for Admit Date: 11/29/1994, if the year is 2004 or 2005, then extract following details:
Mr. Aaron Jarret Aberson
Company: Aaron J Aberson LLC
Address:
1410 Resurgens Plaza
945 East Paces Ferry Road
Atlanta, GA 30326
Phone: 404-760-2784
Fax: 404-233-2914
Email: aaberson@georgialaw.org
Admit Date: 11/29/1994
Law School: Duke University

Status: Active Member in Good Standing


Thank you
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Post by Tech Support » Mon Dec 12, 2005 10:45 pm

You can use IF/THEN conditions by using the Scripting Interace, see for example http://www.iopus.com/iim/help/faq_extract_pages.htm or http://forum.imacros.net/viewtopic.php?t=6
Post Reply