zharfan 0 Posted April 19, 2014 Report Share Posted April 19, 2014 hello every body, i will ask you, How to scrape keyword suggestion using http post plugin in google box? scrape keyword in the box/textarea at google.com example : if i type weight loss a and then show : weight loss appsweight loss affirmationweight loss aidsweight loss avatar and the question is how to scrape it using http post plugin? thanks for your help.. i hope you understand my question Quote Link to post Share on other sites
Gogetta 263 Posted April 20, 2014 Report Share Posted April 20, 2014 It's actually very easy using their api. ui text box("Keyword", #keyword) set(#suggestions, $plugin function("HTTP post.dll", "$http get", "http://clients1.google.com/complete/search?hl=en&output=toolbar&q={#keyword}", "", "", "", ""), "Global") clear list(%words) add list to list(%words, $find regular expression(#suggestions, "(?<=<suggestion data=\").*?(?=\")"), "Delete", "Global") load html($replace($text from list(%words, $new line), $new line, "<br/>")) Quote Link to post Share on other sites
zharfan 0 Posted April 20, 2014 Author Report Share Posted April 20, 2014 thank you gogetta, how to find this url "http://clients1.google.com/complete/search?hl=en&output=toolbar&q=" ? Quote Link to post Share on other sites
Walter1 8 Posted April 20, 2014 Report Share Posted April 20, 2014 http://clients1.google.com/complete/search?hl=en&output=toolbar&q=keyword Quote Link to post Share on other sites
zharfan 0 Posted April 20, 2014 Author Report Share Posted April 20, 2014 sorry i mean, where you get this url http://clients1.google.com/complete/search ? Quote Link to post Share on other sites
zharfan 0 Posted April 21, 2014 Author Report Share Posted April 21, 2014 Please help 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.