web2vec.extractors.external_api.phish_tank_features module

class web2vec.extractors.external_api.phish_tank_features.PhishTankFeatures(phish_id: str, url: str, phish_detail_url: str, submission_time: str, verified: str, verification_time: str, online: str, target: str)[source]

Bases: object

Dataclass for PhishTank features.

property domain: str
online: str
phish_detail_url: str
phish_id: str
submission_time: str
target: str
url: str
verification_time: str
verified: str
web2vec.extractors.external_api.phish_tank_features.check_phish_phishtank(domain: str) bool[source]

Check if the given domain is listed in the PhishTank feed.

web2vec.extractors.external_api.phish_tank_features.get_phishtank_features(domain: str) PhishTankFeatures | None[source]

Get PhishTank features for the given domain.

web2vec.extractors.external_api.phish_tank_features.get_phishtank_features_cached(domain: str) PhishTankFeatures | None[source]

Get PhishTank features for the given domain.

web2vec.extractors.external_api.phish_tank_features.get_phishtank_feed()[source]

Get the PhishTank feed.