Skip to content

Instantly share code, notes, and snippets.

@3dyd
3dyd / safebrowsingtest.py
Last active May 27, 2024 14:49
Test file with Google Safe Browsing
#! /usr/bin/env python3
import hashlib
import json
import requests
GOOGLE_SB_LOOKUP_URL = 'https://safebrowsing.googleapis.com/v4/threatMatches:find'
params = {
'key': '{{YOUR_API_KEY}}'