Extract complete table rows

Information related to the use of iMacros for Web Scraping, Data Mining and creating Mashups.
Post Reply
User avatar
Tech Support
Posts: 5003
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Extract complete table rows

Post by Tech Support » Mon Mar 19, 2007 2:28 pm

Q: How can I extract a complete table row? When I mark all row entries iMacros Extraction Wizard only creates a EXTRACT command that extracts the first element I marked.

A: Table rows start with a TR tag in standard HTML. The trick is to manually enter an extraction tag in the orange field of the extraction wizard (ATTR: Suggested Anchor). Enter <TR* and press Test EXTRACT Tag. Most of the time the extraction result (shown in the bottom text area on the right side of the extraction wizard) will not be what you wanted. If is not the row you want to extract then increase the POS parameter by 1 and hit Test EXTRACT Tag again. Repeat increasing POS parameter and hitting the Test button until the correct row is extracted, then hit Add this EXTRACT Tag.

iOpus Support
Post Reply