Skip to content

Commit

Permalink
Update RelatedNumbers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alpkeskin committed Nov 27, 2020
1 parent 41ff555 commit 6529885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/RelatedNumbers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def RelatedNumbers(mail, _verbose=None):
soup=BeautifulSoup(html,"html.parser")
rgx = str(soup)
phones = re.findall('<td colspan="2">\+.*.</td>', rgx)
for phone in phones:
for phone in range(len(phones)):
number = phones[phone].replace("<td colspan="+'"'+'2'+'"'+'>', "").replace("</td>","")
print(number)
if len(phones) == 0:
Expand Down

0 comments on commit 6529885

Please sign in to comment.