Codebase list python-googlesearch / c4f578b0-6e04-41b5-ba11-83ac2d93928d/upstream/3.0.0
c4f578b0-6e04-41b5-ba11-83ac2d93928d/upstream/3.0.0

Tree @c4f578b0-6e04-41b5-ba11-83ac2d93928d/upstream/3.0.0 (Download .tar.gz)

googlesearch

Google search from Python.

https://python-googlesearch.readthedocs.io/en/latest/

Usage example

# Get the first 20 hits for: "Breaking Code" WordPress blog
from googlesearch import search
for url in search('"Breaking Code" WordPress blog', stop=20):
    print(url)

Installing

pip install google