import urllib.request, urllib.error, urllib.parse
import requests
import re
from bs4 import BeautifulSoup
url = 'https://www.soccerfuncamp.com/'
response = urllib.request.urlopen(url)
webContent = response.read().decode('UTF-8')
soup = BeautifulSoup(webContent.lower(), 'html.parser')
lst = re.findall('mailto[:]\\S+@\\S+', webContent.lower())
for l in lst:
print(l)
for link in soup.find_all('a'):
if link.get('href')[0:4] == "http":
print(link.get('href'))
#print(webContent)