Codebase list python-googlesearch / 9e53a44f-c3f2-42da-8dc9-664ebc1587cc/main
9e53a44f-c3f2-42da-8dc9-664ebc1587cc/main

Tree @9e53a44f-c3f2-42da-8dc9-664ebc1587cc/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