"Scrivi un web crawler in Python."
import urllib.request
import re

def crawl_web(url):
    pagina = urllib.request.urlopen(url)
    codice_html = pagina.read()
    link = re.findall(r'<a href="(.*?)">', str(codice_html))
    return link

print(crawl_web("https://www.example.com"))