def identify_contentType(url):

    """
    Given a URL for a content, it identifies the type of the content

    :param url(str): URL

    :returns: Type of the content
    """
    extensions = ['mp3', 'wav', 'jpeg', 'zip', 'jpg', 'mp4', 'webm', 'ecar', 'wav', 'png']
    if ('youtu.be' in url) or ('youtube' in url):
        return "youtube"
    elif url.endswith('pdf'):
        return "pdf"
    elif any(url.endswith(x) for x in extensions):
        return "ecml"
    else:
        return "unknown"