From 8eb12e9ce06ebc4921c3f5efaf15cee152f9fbae Mon Sep 17 00:00:00 2001 From: spirillen <44526987+spirillen@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:30:17 +0000 Subject: [PATCH] Special rule for `vercel.app` This issue are taking care of one of our time biggest phishing network See: - https://kb.mypdns.org/issue/MTX-1402 - https://github.com/mypdns/matrix/issues/1400 By adding the HTTP code 451, we should be able to remove any outdated records Closes https://github.com/funilrys/PyFunceble/issues/407 Signed-off-by: spirillen <44526987+spirillen@users.noreply.github.com> --- PyFunceble/checker/availability/extras/rules.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PyFunceble/checker/availability/extras/rules.py b/PyFunceble/checker/availability/extras/rules.py index 9e08259f..bf249d71 100644 --- a/PyFunceble/checker/availability/extras/rules.py +++ b/PyFunceble/checker/availability/extras/rules.py @@ -98,6 +98,7 @@ def __init__(self, status: Optional[AvailabilityCheckerStatus] = None) -> None: r"\.sz.id$": [(self.switch_to_down_if_status_code, 302)], r"\.translate\.goog$": [(self.switch_to_down_if_status_code, 403)], r"\.tumblr\.com$": [(self.switch_to_down_if_status_code, 404)], + r"\.vercel\.app$": [(self.switch_to_down_if_status_code, 451)], r"\.web\.app$": [(self.switch_to_down_if_status_code, 404)], r"\.wix\.com$": [(self.switch_to_down_if_status_code, 404)], r"^s3\.ap-south-1\.amazonaws\.com$": [