def get_author_desc(soup):
    "Get the author description / biography.\n\n    Args:\n        soup (bs4.element.Tag): connection to the author page.\n\n    Returns:\n        str: long description of the author.\n\n    Examples::\n        >>> from scrapereads import connect\n        >>> url = 'https://www.goodreads.com/author/show/1077326'\n        >>> soup = connect(url)\n        >>> get_author_desc(soup)\n            See also: Robert Galbraith\n            Although she writes under the pen name J.K. Rowling, pronounced like rolling,\n            her name when her first Harry Potter book was published was simply Joanne Rowling.\n            ...\n\n    "
    author_info_desc = soup.find('div', attrs={'class': 'aboutAuthorInfo'})
    author_info_long = author_info_desc.findAll('span')[(- 1)]
    long_desc = ''
    for sentence in author_info_long.children:
        if isinstance(sentence, bs4.element.Tag):
            if (sentence.name == 'br'):
                long_desc += '\n'
            else:
                long_desc += sentence.text
        else:
            long_desc += sentence
    long_desc = long_desc.replace('’', "'")
    return long_desc
Get the author description / biography.

Args:
    soup (bs4.element.Tag): connection to the author page.

Returns:
    str: long description of the author.

Examples::
    >>> from scrapereads import connect
    >>> url = 'https://www.goodreads.com/author/show/1077326'
    >>> soup = connect(url)
    >>> get_author_desc(soup)
        See also: Robert Galbraith
        Although she writes under the pen name J.K. Rowling, pronounced like rolling,
        her name when her first Harry Potter book was published was simply Joanne Rowling.
        ...
def get_author_desc(soup):
    "Get the author description / biography.\n\n    Args:\n        soup (bs4.element.Tag): connection to the author page.\n\n    Returns:\n        str: long description of the author.\n\n    Examples::\n        >>> from scrapereads import connect\n        >>> url = 'https://www.goodreads.com/author/show/1077326'\n        >>> soup = connect(url)\n        >>> get_author_desc(soup)\n            See also: Robert Galbraith\n            Although she writes under the pen name J.K. Rowling, pronounced like rolling,\n            her name when her first Harry Potter book was published was simply Joanne Rowling.\n            ...\n\n    "
    author_info_desc = soup.find('div', attrs={'class': 'aboutAuthorInfo'})
    author_info_long = author_info_desc.findAll('span')[(- 1)]
    long_desc = 
    for sentence in author_info_long.children:
        if isinstance(sentence, bs4.element.Tag):
            if (sentence.name == 'br'):
                long_desc += '\n'
            else:
                long_desc += sentence.text
        else:
            long_desc += sentence
    long_desc = long_desc.replace('’', "'")
    return long_desc