fix: [Phone module] Filter Invalid Phone numbers

pull/594/head
Terrtia 2023-05-24 13:31:10 +02:00
parent 2c8b239eec
commit f7e0a357ea
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -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])