mirror of https://github.com/CIRCL/AIL-framework
fix: [Phone module] Filter Invalid Phone numbers
parent
2c8b239eec
commit
f7e0a357ea
|
@ -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 New Issue