Codebase list python-googlesearch / run/fe1a26b8-c4f5-4ed9-9809-e8e9cbdce175/main
run/fe1a26b8-c4f5-4ed9-9809-e8e9cbdce175/main

Tree @run/fe1a26b8-c4f5-4ed9-9809-e8e9cbdce175/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