SaHiN 14 Posted March 6, 2015 Report Share Posted March 6, 2015 Hi, <title> Sample Title </title> how to make scrape ( Sample Title ) $html parser ? Quote Link to post Share on other sites
HelloInsomnia 1103 Posted March 6, 2015 Report Share Posted March 6, 2015 I always use the $xpath parser instead, here is an example for you: set(#html,$plugin function("HTTP post.dll", "$http get", "http://ubotsandbox.com/", "", "", "", ""),"Global") set(#title,$plugin function("HTTP post.dll", "$xpath parser", #html, "//title", "InnerText", "HTML"),"Global") 2 Quote Link to post Share on other sites
SaHiN 14 Posted March 6, 2015 Author Report Share Posted March 6, 2015 I always use the $xpath parser instead, here is an example for you: set(#html,$plugin function("HTTP post.dll", "$http get", "http://ubotsandbox.com/", "", "", "", ""),"Global") set(#title,$plugin function("HTTP post.dll", "$xpath parser", #html, "//title", "InnerText", "HTML"),"Global") Thank you HelloInsomnia 1 Quote Link to post Share on other sites
gavind 6 Posted March 12, 2015 Report Share Posted March 12, 2015 Looks good, I was able to test it out and it work. I just don't have a use for it now, but this will just be on standby. 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.