📜  使用 python 代码示例在 google 中搜索

📅  最后修改于: 2022-03-11 14:47:25.328000             🧑  作者: Mango

代码示例1
# pip install beautifulsoup4
# pip install google
from googlesearch import search

query = "what is a computer"

for result in search(query, num=20, stop=10):
    print(result)