fediseer/quickrun.py

6 lines
182 B
Python
Raw Normal View History

2023-06-20 16:43:07 +00:00
import json
from fediseer.observer import retrieve_suspicious_instances
2023-06-20 16:43:07 +00:00
2023-06-20 17:47:56 +00:00
sus = retrieve_suspicious_instances(20)
if sus:
print(json.dumps([bn["domain"] for bn in sus], indent=4))