Codebase list python-googlesearch / a1d814ea-599b-41b3-92ff-be0ef9a1dcf7/upstream README.md
a1d814ea-599b-41b3-92ff-be0ef9a1dcf7/upstream

Tree @a1d814ea-599b-41b3-92ff-be0ef9a1dcf7/upstream (Download .tar.gz)

README.md @a1d814ea-599b-41b3-92ff-be0ef9a1dcf7/upstreamview markup · raw · history · blame

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