Codebase list python-googlesearch / run/7aeb35ca-1871-4334-a7d2-6b13e044eea5/main
run/7aeb35ca-1871-4334-a7d2-6b13e044eea5/main

Tree @run/7aeb35ca-1871-4334-a7d2-6b13e044eea5/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