LazyBotter 188 Posted June 6, 2013 Report Share Posted June 6, 2013 Hi, I can pull the data I need from html like this, <input type="hidden" value="6LfnuAYAAAAAAJ_9S1HZ8qxfs145BrjYjzec1yjC" name="publickey"> but how do you get around the attributes switching around on the page? Example: <input type="hidden" name="publickey" value="6LfnuAYAAAAAAJ_9S1HZ8qxfs145BrjYjzec1yjC"> Cheers Carl Quote Link to post Share on other sites
north_star 16 Posted June 6, 2013 Report Share Posted June 6, 2013 (edited) if you need to grab the value, you could use this (?<=value=").*?(?=">)Or you could always find the static "character" element to be scrape, for example: (<input).*?(">) Edited June 6, 2013 by north_star 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.