mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
fix: [Phone module] Filter Invalid Phone numbers
This commit is contained in:
parent
2c8b239eec
commit
f7e0a357ea
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class Phone(AbstractModule):
|
||||||
content = item.get_content()
|
content = item.get_content()
|
||||||
|
|
||||||
# TODO use language detection to choose the country code ?
|
# 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:
|
for phone in results:
|
||||||
print(phone[2])
|
print(phone[2])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue