Codebase list python-googlesearch / run/8b0baa78-de5b-444b-a857-aaa1f84b43ff/main
run/8b0baa78-de5b-444b-a857-aaa1f84b43ff/main

Tree @run/8b0baa78-de5b-444b-a857-aaa1f84b43ff/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