rafterman 0 Posted February 24, 2011 Report Share Posted February 24, 2011 As of now I have the loop number as a variable reliant on a difference of a scraped position divided by 30 under the math.ceil() javascript. Works great. But sometimes there are less than 30 results to a page, so it stops. What should I tell script? The number I scrape is between two strong tags, so if I use if and search page, I was thinking I could tell it to search for <strong>x</strong> where x is any number, is that possible? Quote Link to post Share on other sites
Frank 177 Posted February 24, 2011 Report Share Posted February 24, 2011 One way is to grab the page as a whole into a variable using the document/document text variable. You could then parse through it with a 'find regular expression' and count the number of entries you get into a list. But that may be way overboard. Sometimes the simplest answers are the very best - look at the problem a different way. This is what makes a great programmer!! PM me if you get really stuck. Frank 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.