pygoogle-simple:通过 AJAX Google API 在 google 中搜索

时间:2021-06-23 22:57:11
【文件属性】:
文件名称:pygoogle-simple:通过 AJAX Google API 在 google 中搜索
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-23 22:57:11
Python 谷歌 它是一个非常基本的 Python 谷歌搜索模块。 它只有 64 个结果的限制。 如果您想要更多结果,请参阅 。 模块来源在这里: : 页面 Google 的搜索 API 每“页面”返回 4 或 8 个结果。 因此,如果您想要 40 个结果,则需要请求 4x10 页或 8x5 页。 pygoogle 每页使用 8 个结果(默认情况下,使用 rsz 将其更改为 4)。 例子 模块中的用法: from pygoogle import pygoogle g = pygoogle ( 'quake 3 arena' ) # set number of results pages g . pages = 5 # set language g . hl = 'ru' # query and returns the number of results print g . get_resu
【文件预览】:
pygoogle-simple-master
----setup.py(614B)
----.gitignore(694B)
----LICENSE(1KB)
----pygoogle()
--------__init__.py(95B)
--------pygoogle.py(10KB)
----README.md(1KB)
----MANIFEST(98B)

网友评论