Codebase list python-googlesearch / ac942353-9a3d-4ed9-8233-50dbc0ef6c1e/main
ac942353-9a3d-4ed9-8233-50dbc0ef6c1e/main

Tree @ac942353-9a3d-4ed9-8233-50dbc0ef6c1e/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