in reply to How to extract xpath from the webpage

Here you go, this should get you started with HTML::TreeBuilder::XPath. It's code that parses google search results. You will get an IP ban if you use it too much so this is just for educational purposes.

Also consider reading the actual documentation.

Good luck and most importantly, have fun!

  • Comment on Re: How to extract xpath from the webpage

Replies are listed 'Best First'.
Re^2: How to extract xpath from the webpage
by Anonymous Monk on Sep 14, 2010 at 06:41 UTC
    Can you please add script that uses the google perl script you have shared? I am looking for capturing all the xpaths for the search term "blue suede shoes" on google page. Thanks, M