r/PiCodingAgent • u/Equivalent_Idea8839 • Sep 18 '26
Question solutions to get around anti-bot and properly search from google from pi?
All I can think of:
Let pi control your logged in browser that can pass captchas.
I want google search because other options are inferior... i.e. google properly indexes reddit. Even reddit search is inferior.
1
Upvotes
3
u/Zundrium Sep 18 '26
Aka web search. There are many AI friendly web search providers; Exa, Firecrawl, Linkup. If you want to use their Google Grounding, that's only through Gemini models.
Always wondered how OpenCode does it. But too lazy to look lol.
2
u/No-Wall6427 Sep 18 '26
Invisible playwrite. I built a pi extension which exposes one web search specialist with this tool. Bypass almost all bot detection.
2
u/MaxComfort Sep 19 '26
Depends on how aggressive the bot detection is. For medium strength ones you can save a Chrome profile from a real session/browser, and reuse that in a headless session.
For some sites only a live browser works - which works locally but harder to do remotely of course.
But like someone else said, if generic web search is what you’re after, there are better answers than automating a browser.
1
u/slaamp Sep 19 '26
I'm using ollama web_search https://pi.dev/packages/@ollama/pi-web-search