web2vec.extractors.external_api.open_phish_features module

class web2vec.extractors.external_api.open_phish_features.OpenPhishFeatures(is_phishing: bool)[source]

Bases: object

Dataclass for OpenPhish features.

is_phishing: bool
web2vec.extractors.external_api.open_phish_features.get_open_phish_features(url: str) OpenPhishFeatures[source]

Check if the given URL is listed in the OpenPhish feed.

web2vec.extractors.external_api.open_phish_features.get_open_phish_features_cached(url: str) OpenPhishFeatures[source]

Get the OpenPhish features for the given URL.