import requests
import re


def get_title(url: str):
    """ Get the Title of the web page and generates markdown formated link"""
    html_source = requests.get(url).text
    title = re.findall('<title>(.*?)</title>', html_source)[0].strip()
    return f"[{title}]({url})"