【问题标题】:Is xgoogle no longer working?xgoogle 不再工作了吗?
【发布时间】:2015-11-03 05:32:40
【问题描述】:

我只是想确认 xgoogle 是否不再用于自动搜索。我按照这个网站上的第一个例子http://www.catonmat.net/blog/python-library-for-google-search/

from xgoogle.search import GoogleSearch, SearchError
try:
  gs = GoogleSearch("quick and dirty")
  gs.results_per_page = 50
  results = gs.get_results()
  for res in results:
    print res.title.encode("utf8")
    print res.desc.encode("utf8")
    print res.url.encode("utf8")
    print
except SearchError, e:
  print "Search failed: %s" % e

它只给了我三个搜索结果,它们与我在浏览器上得到的不同。它不再工作了,对吧?

【问题讨论】:

    标签: python xgoogle


    【解决方案1】:

    我联系了 xgoogle 的作者,被告知它不再工作了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-05-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-09-24
      • 2014-08-21
      相关资源
      最近更新 更多