开发者

Parse google search via jquery

开发者 https://www.devze.com 2023-02-19 07:21 出处:网络
I need a get json/array from a google search. $.get(\"http://google.com/\", { \"q\": \"query\" }, function(data){

I need a get json/array from a google search.

$.get("http://google.com/", { "q": "query" },
   function(data){
     // PARSE ALL LINKS AND TITLE
   }, "json");

H开发者_StackOverflow中文版ow I can do it?

I don't want to use ajax google api because that is deprecated and I need to get a ten results minimum.


You will probably have to use the Google Custom Search API. You can use this example code as a starting point.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号