Add URL entry to CSV

This commit is contained in:
Ivaylo Ivanov 2018-12-19 19:02:29 +01:00
parent 59768d8b28
commit 00140c2b6b

View File

@ -69,7 +69,7 @@ class Scanner:
# Find the first thing that matches the mail pattern and the keyword # Find the first thing that matches the mail pattern and the keyword
mail = soup.find(text = mail_pattern) mail = soup.find(text = mail_pattern)
name = soup.find(text = person_pattern) name = soup.find(text = person_pattern)
person["URL"] = url
if mail: if mail:
person["Email"] = mail person["Email"] = mail
else: else: