some_guy 11 Posted February 2, 2010 Report Share Posted February 2, 2010 Am trying to scrape a page and I need to add a wildcard to the left side <A class=l onmousedown="return clk(this.href,'','','res', * href=" where the * is the wildcard, but it isn't working. How do I need to specify the wildcard for it to skip a certain amount of characters? Quote Link to post Share on other sites
Aaron Nimocks 19 Posted February 2, 2010 Report Share Posted February 2, 2010 You cant use wildcards there. If you post the URL and what you want to scrape we might be able to get it another way. Quote Link to post Share on other sites
some_guy 11 Posted February 2, 2010 Author Report Share Posted February 2, 2010 Thanks for the reply. Scraping URLS from Google. Have got all URLS but includes some local google links, was going to clean the list but thought if could use wild cards would be a cleaner solution. Looking it now via source in FF, it should be easy Left side<h3 class="r"><a href="right side" But when I view it in Ubot page scrape view thingy, it has the left side<H3 class=r><A class=l onmousedown="return clk(this.href,'','','res','3','','0CBIQFjAC')" href=" where the '3' changes and the '0CBIQFjAC' changes per URL. Am just going to have to clean it, shouldn't be too hard with some additions to the string lib. Hopefully get it finished soon and uploaded 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.