Codebase list python-googlesearch / 3ece14df-5d7a-4d3d-855e-6ca4b30e29a2/upstream
3ece14df-5d7a-4d3d-855e-6ca4b30e29a2/upstream

Tree @3ece14df-5d7a-4d3d-855e-6ca4b30e29a2/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