Codebase list python-googlesearch / 6e1db84b-f094-4bf0-bd37-f96385af9270/upstream
6e1db84b-f094-4bf0-bd37-f96385af9270/upstream

Tree @6e1db84b-f094-4bf0-bd37-f96385af9270/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