Google search from Python.
Clone or download
MarioVilas Merge pull request #62 from remohammadi/master
Make `hits()` return zero when there are no results
Latest commit bce138a Nov 12, 2018

README.md

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