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

    Returns the fanfic's title from the soup.

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

    :returns: The title of the fanfic as a string.
    :rtype: str.

    .. code-block:: python

                    from ffscraper.fanfic.story import _title
                    from bs4 import BeautifulSoup as bs
                    import requests

                    r = requests.get('https://www.fanfiction.net/s/123')
                    html = r.text
                    soup = bs(html, 'html.parser')

                    print(_title(soup))

    .. code-block:: bash

                    'There Once was a Man from Gilneas'
    """
    return soup.find('b', {'class': 'xcontrast_txt'}).text