Codebase list python-googlesearch / 4e3c8bc4-1375-42ca-8a7a-2a58ac18b321/upstream
4e3c8bc4-1375-42ca-8a7a-2a58ac18b321/upstream

Tree @4e3c8bc4-1375-42ca-8a7a-2a58ac18b321/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