Go to next "Navigate Each" if url redirection found ?

Questions and answers about anything related to Helium Scraper
Post Reply
derba
Posts: 27
Joined: Tue May 15, 2012 8:03 pm

Go to next "Navigate Each" if url redirection found ?

Post by derba » Wed May 16, 2012 10:57 am

In Actions : Go to next "Navigate Each" if the url redirection is changed to a specific url ?

Hello,

I have a list of Actions :
Navigate Each [= check many urls (A, B...etc...)]

Navigate to webpage_url_A01
Extract in table1

Navigate to webpage_url_A02
Extract in table2
...etc...
How to tell Helium to stop navigating just after webpage_url_A01 and startover to the next "Navigate Each" url (B01 but not A02!) if there is a specific redirection url found in webpage_url_A01 link ?

"http://website.com/no_results"


Thanks in advance ;)

webmaster
Site Admin
Posts: 510
Joined: Mon Dec 06, 2010 8:39 am
Contact:

Re: Go to next "Navigate Each" if url redirection found ?

Post by webmaster » Thu May 17, 2012 5:24 am

I think what you're trying to do can be achieved with the If / While premade (New Action button-> Execute Actions Tree -> More... If / While in any actions tree). Just create a kind that is only found on the page where you want to stop and then add a If / While tree that executes its child nodes while the kind is not found. Note that you can also do it the other way around (use a kind that is found on every page except on the page you want to stop).
Juan Soldi
The Helium Scraper Team

Post Reply