Codebase list python-googlesearch / f28b4022-8e38-49e1-aa78-1ee7cbf877f0/upstream
f28b4022-8e38-49e1-aa78-1ee7cbf877f0/upstream

Tree @f28b4022-8e38-49e1-aa78-1ee7cbf877f0/upstream (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