Extract URLs and then perform a task on the URL

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
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

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
garys100
Posts: 1
Joined: Wed Feb 11, 2009 3:57 pm

Extract URLs and then perform a task on the URL

Post by garys100 » Wed Feb 11, 2009 11:33 pm

I am a newbie and I tried to dig around to see if I could fine the answer myself. I apologize if I this is posted elsewhere.

I access a page that dynamically builds a list of users. It shows me the users info as URLs I can click. I tried making a simple macro, but when the user list grows, it does not grow with it.

I am looking to extract the URLs that match my structure for example mysite.com/page.aspx?userid=######. I want to "open" each of these URLs and post a status update into the record. The post function is easy, I can see how that works from a macro. However, I have not been able to find the proper extract syntax to either extract the entire URL or extract the userID and then use the values gathered in my post sequence.

Thanks in advance.
dharmendra2000
Posts: 214
Joined: Fri Jul 04, 2008 1:28 pm
Location: Ahmedabad
Contact:

Re: Extract URLs and then perform a task on the URL

Post by dharmendra2000 » Thu Feb 12, 2009 8:40 am

JavaScript.js
for(i=1000,i<1100,i++)
{
iimSet("userid", x)
iimPlay("callpage.iim")
}

callpage.iim
URL GOTO=mysite.com/page.aspx?userid={{x}}

Not sure it will help, let me know anything else is required
Post Reply