From f7e0a357ead9a5f2d0be40dfc239cdb3956303c5 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Wed, 24 May 2023 13:31:10 +0200 Subject: [PATCH] fix: [Phone module] Filter Invalid Phone numbers --- bin/modules/Phone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/modules/Phone.py b/bin/modules/Phone.py index fe29d33b..a7537eda 100755 --- a/bin/modules/Phone.py +++ b/bin/modules/Phone.py @@ -53,7 +53,7 @@ class Phone(AbstractModule): content = item.get_content() # TODO use language detection to choose the country code ? - results = self.regex_phone_iter('US', item.id, content) + results = self.regex_phone_iter('ZZ', item.id, content) for phone in results: print(phone[2])