Google-Search-API icon indicating copy to clipboard operation
Google-Search-API copied to clipboard

Error accessing

Open GonLou opened this issue 8 years ago • 6 comments

Hi, Search works first times and after a while gives error accessing for all pages. Is there a limit? \ty

GonLou avatar Nov 29 '16 00:11 GonLou

I have the same problem..

nikked avatar Jan 15 '17 12:01 nikked

Same problem here!

D0cRandom avatar Jan 19 '17 13:01 D0cRandom

google ban your ip after multiple search from python.just use a vpn than try again it will work for around 100 search than again change your ip

Harshilpatel134 avatar Jan 30 '17 06:01 Harshilpatel134

I faced the same problem. Can anyone please resolve this?

hisenan avatar Jun 12 '17 09:06 hisenan

Same problem here. I am wondering what's the limit rule and how to solve it.

TianqiJiang avatar Jul 03 '17 15:07 TianqiJiang

Same here. I used a VPN and the problem went away. Suspect rate limiting. Is there a delay option? I found this web scraping reference useful. For example:

import time

for term in ["web scraping", "web crawling", "scrape this site"]:
    t0 = time.time()
    r = requests.get("http://example.com/search", params=dict(
        query=term
    ))
    response_delay = time.time() - t0
    time.sleep(10*response_delay)  # wait 10x longer than it took them to respond

OsakaStarbux avatar Jul 14 '17 03:07 OsakaStarbux