google / safebrowsing

Safe Browsing API Go Client
Apache License 2.0
470 stars 129 forks source link

Get the 'database is now healthy' every time. #117

Open somsomers opened 2 years ago

somsomers commented 2 years ago

Hello.

Every time I check URL from cmd, it takes about couple of seconds and every time a get the 'database is now healthy' message. echo 'cars.com' | sblookup -apikey=AIza.....................2SqyQ -db=fil.db

I didn't use it for a while, but i remember, that it could check URL almost immediately except first time, when it was downloading db.

What am I doing wrong?

Go 1.18, Debian Bullseye