Codebase list python-googlesearch / e941ae1f-171e-43cd-8b63-8c0c0ce4fa24/main
e941ae1f-171e-43cd-8b63-8c0c0ce4fa24/main

Tree @e941ae1f-171e-43cd-8b63-8c0c0ce4fa24/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