Codebase list python-googlesearch / ddf57ac3-5ea4-4161-bdce-c97552a7beff/main
ddf57ac3-5ea4-4161-bdce-c97552a7beff/main

Tree @ddf57ac3-5ea4-4161-bdce-c97552a7beff/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