Codebase list python-googlesearch / 9d387042-be76-4f9e-b44e-b69ba563a003/main
9d387042-be76-4f9e-b44e-b69ba563a003/main

Tree @9d387042-be76-4f9e-b44e-b69ba563a003/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