What's the best python library google search for scraping and automation? or How to use a python libr

20 Replies, 1777 Views

Why not just use `selenium`? It’s not a python library google search tool per se, but you can automate searches and scrape results.

Downside: It’s slow and needs a browser. Upside: No API keys, and it’s harder for Google to detect.

Example:

```python
from selenium import webdriver
driver = webdriver.Chrome()
driver.get("https://www.google.com/search?q=python+library+google+search")
```

Messages In This Thread



Users browsing this thread: 1 Guest(s)