{"action":"created","issue":{"url":"https://api.github.com/repos/rjohnsondev/go-safe-browsing-api/issues/6","labels_url":"https://api.github.com/repos/rjohnsondev/go-safe-browsing-api/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/rjohnsondev/go-safe-browsing-api/issues/6/comments","events_url":"https://api.github.com/repos/rjohnsondev/go-safe-browsing-api/issues/6/events","html_url":"https://github.com/rjohnsondev/go-safe-browsing-api/issues/6","id":54977142,"number":6,"title":"can full hashes be downloaded in bulk, in advance?","user":{"login":"glycerine","id":445247,"avatar_url":"https://avatars.githubusercontent.com/u/445247?v=3","gravatar_id":"","url":"https://api.github.com/users/glycerine","html_url":"https://github.com/glycerine","followers_url":"https://api.github.com/users/glycerine/followers","following_url":"https://api.github.com/users/glycerine/following{/other_user}","gists_url":"https://api.github.com/users/glycerine/gists{/gist_id}","starred_url":"https://api.github.com/users/glycerine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glycerine/subscriptions","organizations_url":"https://api.github.com/users/glycerine/orgs","repos_url":"https://api.github.com/users/glycerine/repos","events_url":"https://api.github.com/users/glycerine/events{/privacy}","received_events_url":"https://api.github.com/users/glycerine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-21T04:42:39Z","updated_at":"2015-01-29T09:50:15Z","closed_at":null,"body":"Hi Richard,\r\n\r\nThank you for this really useful go binding! It is really nice.\r\n\r\nI'm trying out the v3 adaption that github.com/kgilonne/go-safe-browsing-api provides.\r\n\r\nOne problem: I get a ton of false positives from MightBeListed(), and IsListed() is too slow.  Is it possible to pull down the full hashes every 1800 minutes (or the update frequency that google requests), and to otherwise remain offline while having accurate (full) hash matching?\r\n\r\nThanks!\r\nJason"},"comment":{"url":"https://api.github.com/repos/rjohnsondev/go-safe-browsing-api/issues/comments/71996646","html_url":"https://github.com/rjohnsondev/go-safe-browsing-api/issues/6#issuecomment-71996646","issue_url":"https://api.github.com/repos/rjohnsondev/go-safe-browsing-api/issues/6","id":71996646,"user":{"login":"rjohnsondev","id":323411,"avatar_url":"https://avatars.githubusercontent.com/u/323411?v=3","gravatar_id":"","url":"https://api.github.com/users/rjohnsondev","html_url":"https://github.com/rjohnsondev","followers_url":"https://api.github.com/users/rjohnsondev/followers","following_url":"https://api.github.com/users/rjohnsondev/following{/other_user}","gists_url":"https://api.github.com/users/rjohnsondev/gists{/gist_id}","starred_url":"https://api.github.com/users/rjohnsondev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjohnsondev/subscriptions","organizations_url":"https://api.github.com/users/rjohnsondev/orgs","repos_url":"https://api.github.com/users/rjohnsondev/repos","events_url":"https://api.github.com/users/rjohnsondev/events{/privacy}","received_events_url":"https://api.github.com/users/rjohnsondev/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T09:50:15Z","updated_at":"2015-01-29T09:50:15Z","body":"Yup, the full-length hash lookup is here https://github.com/rjohnsondev/go-safe-browsing-api/blob/master/safebrowsing.go#L453 this is usually called with the generated hashes for a matching URL.\r\n\r\nYou would want to modify the `queryUrl` call to return the partial hash matches for a URL early, or even throw them onto a channel here https://github.com/rjohnsondev/go-safe-browsing-api/blob/master/safebrowsing.go#L432 where you can buffer until you have a desired number, then drain them to `requestFullHashes`.\r\n\r\n"}}