import json


def parse(content):
    """
    Get image url, description

    :param bs4.BeautifulSoup content: BeautifulSoup from html content
    :return: image and description
    :rtype: tuple
    """
    img = description = None

    attrs = {'type': 'application/ld+json'}
    full_info = content.find('script', attrs=attrs).text
    info_dict = json.loads(full_info)

    if 'image' in info_dict.keys():
        img = info_dict['image']
    if 'description' in info_dict.keys():
        description = info_dict['description']

    return img, description