Extract complete table rows

Information related to the use of iMacros for Web Scraping, Data Mining and creating Mashups.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team
Post Reply
User avatar
Tech Support
Posts: 4948
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