Codebase list python-googlesearch / 80e1a91d-a6d6-43ba-9028-d2adc41db03d/upstream
80e1a91d-a6d6-43ba-9028-d2adc41db03d/upstream

Tree @80e1a91d-a6d6-43ba-9028-d2adc41db03d/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