Codebase list python-googlesearch / 6ddbf9f2-7b7c-4d67-a9d1-54c4a1ee26ba/main
6ddbf9f2-7b7c-4d67-a9d1-54c4a1ee26ba/main

Tree @6ddbf9f2-7b7c-4d67-a9d1-54c4a1ee26ba/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