scamdetect-backend / backend /test_url.py
ScamDetect Bot
Auto-sync backend from GitHub
69b17de
Raw
History Blame Contribute Delete
224 Bytes
import sys
import os
sys.path.append('d:/ASEP2/backend')
from services.scam_detection import process_url
try:
result = process_url("http://example.com")
print(result.risk_score)
except Exception as e:
print(e)