def _metadata(soup):
    """
    .. versionadded:: 0.3.0

    Parses the metadata displayed on a page.

    :param soup: Soup containing a page from FanFiction.Net
    :type soup: bs4.BeautifulSoup class

    :returns: A dictionary of metadata.
    :rtype: dict.
    """

    metadata_html = soup.find('span', {'class': 'xgray xcontrast_txt'})
    metadata = metadata_html.text.replace('Sci-Fi', 'SciFi')
    metadata = [s.strip() for s in metadata.split('-')]
    return metadata