Codebase list python-googlesearch / 9fd97d1f-a916-4ddb-a906-67ac7f4ffd8b/main
9fd97d1f-a916-4ddb-a906-67ac7f4ffd8b/main

Tree @9fd97d1f-a916-4ddb-a906-67ac7f4ffd8b/main (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