fediseer/quickrun.py

6 lines
182 B
Python

import json
from fediseer.observer import retrieve_suspicious_instances
sus = retrieve_suspicious_instances(20)
if sus:
print(json.dumps([bn["domain"] for bn in sus], indent=4))