Codebase list python-googlesearch / run/2a3c5847-72b4-4c2b-a789-8daf8de9a94f/main
run/2a3c5847-72b4-4c2b-a789-8daf8de9a94f/main

Tree @run/2a3c5847-72b4-4c2b-a789-8daf8de9a94f/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