Codebase list python-googlesearch / 4ed010bb-7ff9-400f-a1c4-0b5aec47d396/upstream
4ed010bb-7ff9-400f-a1c4-0b5aec47d396/upstream

Tree @4ed010bb-7ff9-400f-a1c4-0b5aec47d396/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