def METHOD_NAME(self, url):
    if 'xmlphishing' in url:
        return PHISHING, 'phishing'
    elif 'xmlviruses' in url:
        return VIRUS, 'malware-distribution'
    else:
        raise ValueError('Unknown report.')