davidford76 12 Posted March 9, 2016 Report Share Posted March 9, 2016 I scraped some ids from a site and I am in the list of ids scraped. I have it as add list to list scrape attribute href and etc. You know the deal. The problem is when I navigate to next list item it always starts at mine and I want it to start at the next list id instead of mine.I did try doing list position at and even at 2 but it still is navigating to my id first. I know it's a simple fix I just can't figure it out yet. Quote Link to post Share on other sites
todordonev 3 Posted March 10, 2016 Report Share Posted March 10, 2016 Not sure what you mean but this is how you loop through a list with each(%list_with_ids,#each_id) { navigate(#each_id,"Wait") } with each is not realiable enough so I still stick with the older way set(#i,0,"Global") loop($list total(%list_with_ids)) { set(#current_id,$list item(%list_with_ids,#i),"Global") navigate(#current_id,"Wait") increment(#i) } Hope that helps. Quote Link to post Share on other sites
davidford76 12 Posted March 10, 2016 Author Report Share Posted March 10, 2016 This is a pic of what I have. It navigates just fine through every id but it always goes to mine first and I am not wanting it to do that.I have set list position to 1 instead of 0 and even tried list position 2 and it still goes to mine first. Quote Link to post Share on other sites
pash 504 Posted March 10, 2016 Report Share Posted March 10, 2016 use "$list item" instead Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.