List Updates

7 views
Skip to first unread message

Jon

unread,
Jun 21, 2009, 9:39:14 PM6/21/09
to Google Safe Browsing API
I finally got my code working with the Safe Browsing API. As near as I
can tell, everything is working correctly, including using a key to
verify the data retrieved.

However, when updating the data, I notice I get some unexpected errors
from time to time. For example, I might get an item that starts with
'-', indicating that the item should be removed, yet my code finds
that this item is not in the list!

Out of thousands of items in either list, this only happens a couple
of times here and there. And, often, it doesn't happen at all. So it's
hard to imagine that my code has major problems. Can anyone say if
Google's update logic has some errors now and again, where items to be
added could already be in the list, or items to be removed are not in
the list?

Thanks.

glen

unread,
Jun 23, 2009, 11:38:07 PM6/23/09
to Google Safe Browsing API
Jon I'm having the same issue.

Again not too sure why this happens. Don't think my code is the issue,
but yes; certain entries to be removed are not located in the list.

Jon, I have not checked whether items to be added are already in the
list, but yes that could be possible.

Glen

Jon

unread,
Jun 24, 2009, 12:12:38 AM6/24/09
to Google Safe Browsing API
Hi Glen,

Yeah, I think if it were my code, I would have much bigger problems.

Seems to be a quirk in the update algorithm.

Thanks.

glen

unread,
Jun 24, 2009, 2:32:50 AM6/24/09
to Google Safe Browsing API
Lets hope the new API which comes out irons out those issues.

amoebe

unread,
Aug 4, 2009, 4:38:30 PM8/4/09
to Google Safe Browsing API
Dear Jon,

First of grats on having you code worked. May i asked what language
you used?
I am desperatly (: looking for a tutorial on this for php.
Cheers,

mr. Amoebe

Jon

unread,
Aug 4, 2009, 6:35:26 PM8/4/09
to Google Safe Browsing API
> First of grats on having you code worked. May i asked what language
> you used?
> I am desperatly (: looking for a tutorial on this for php.

I can't help you there. My code was written in C#.NET.

Jonathan
Reply all
Reply to author
Forward
0 new messages