def get_author_book_author(book_tr):
    "Get the author ``<a>`` element from a table ``<tr>`` element.\n\n    Args:\n        book_tr (bs4.element.Tag): ``<tr>`` book element.\n\n    Returns:\n        bs4.element.Tag: author name ``<a>`` element.\n\n    Examples::\n        >>> for book_tr in scrape_author_books(soup):\n        ...     book_author = get_author_book_author(book_tr)\n        ...     print(book_author.text, book_author.get('href'))\n            Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath\n            Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath\n            Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath\n            Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath\n            Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath\n\n    "
    return book_tr.find('a', attrs={'class': 'authorName'})
Get the author ``<a>`` element from a table ``<tr>`` element.

Args:
    book_tr (bs4.element.Tag): ``<tr>`` book element.

Returns:
    bs4.element.Tag: author name ``<a>`` element.

Examples::
    >>> for book_tr in scrape_author_books(soup):
    ...     book_author = get_author_book_author(book_tr)
    ...     print(book_author.text, book_author.get('href'))
        Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath
        Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath
        Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath
        Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath
        Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath
def get_author_book_author(book_tr):
    "Get the author ``<a>`` element from a table ``<tr>`` element.\n\n    Args:\n        book_tr (bs4.element.Tag): ``<tr>`` book element.\n\n    Returns:\n        bs4.element.Tag: author name ``<a>`` element.\n\n    Examples::\n        >>> for book_tr in scrape_author_books(soup):\n        ...     book_author = get_author_book_author(book_tr)\n        ...     print(book_author.text, book_author.get('href'))\n            Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath\n            Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath\n            Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath\n            Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath\n            Sylvia Plath https://www.goodreads.com/author/show/4379.Sylvia_Plath\n\n    "
    return book_tr.find('a', attrs={'class': 'authorName'})