def parse_url(url):
    """ Returns a link in string format from an Url object """
    link = url.scheme + '://' + url.host + ':' + str(url.port)
    if url.path.startswith('/'):
        link = link + url.path
    else:
        link = link + '/' + url.path
    return link
