【问题标题】:Return URL list for a Google Search返回 Google 搜索的 URL 列表
【发布时间】:2016-08-22 19:13:34
【问题描述】:

想知道从 google 搜索结果返回 URL 列表/数组的最简单方法是什么。我会使用 JS 和 Google API

我想做这个

Google 一个类似“狗”的词

有一个与该搜索相关的 URL 数组/列表: 域url1 域名url2

等等。

【问题讨论】:

    标签: javascript html arrays


    【解决方案1】:
    options[google.search.Search.RESTRICT_EXTENDED_ARGS] = {
      'cr': 'countryIT',
      'sort': 'date'
    };
    var customSearchControl = new google.search.CustomSearchControl(id, options);
    

    这里是获取返回 url 列表的语法

    google.search.CustomSearchControl.CustomSearch
          Control(cseId, opt_options);
    

    您将在此链接中获得正确的详细信息:Return URL list

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-04-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-18
      • 1970-01-01
      相关资源
      最近更新 更多