def get_author_book_title(book_tr):
    "Get the book title ``<a>`` element from a table ``<tr>`` element from an author page.\n\n    Args:\n        book_tr (bs4.element.Tag): ``<tr>`` book element.\n\n    Returns:\n        bs4.element.Tag: book title ``<a>`` element.\n\n    Examples::\n        >>> for book_tr in scrape_author_books(soup):\n        ...     book_title = get_author_book_title(book_tr)\n        ...     print(book_title.text.strip(), book_title.get('href'))\n            The Bell Jar /book/show/6514.The_Bell_Jar\n            Ariel /book/show/395090.Ariel\n            The Collected Poems /book/show/31426.The_Collected_Poems\n            The Unabridged Journals of Sylvia Plath /book/show/11623.The_Unabridged_Journals_of_Sylvia_Plath\n\n    "
    return book_tr.find('a', attrs={'class': 'bookTitle'})
Get the book title ``<a>`` element from a table ``<tr>`` element from an author page.

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

Returns:
    bs4.element.Tag: book title ``<a>`` element.

Examples::
    >>> for book_tr in scrape_author_books(soup):
    ...     book_title = get_author_book_title(book_tr)
    ...     print(book_title.text.strip(), book_title.get('href'))
        The Bell Jar /book/show/6514.The_Bell_Jar
        Ariel /book/show/395090.Ariel
        The Collected Poems /book/show/31426.The_Collected_Poems
        The Unabridged Journals of Sylvia Plath /book/show/11623.The_Unabridged_Journals_of_Sylvia_Plath
def get_author_book_title(book_tr):
    "Get the book title ``<a>`` element from a table ``<tr>`` element from an author page.\n\n    Args:\n        book_tr (bs4.element.Tag): ``<tr>`` book element.\n\n    Returns:\n        bs4.element.Tag: book title ``<a>`` element.\n\n    Examples::\n        >>> for book_tr in scrape_author_books(soup):\n        ...     book_title = get_author_book_title(book_tr)\n        ...     print(book_title.text.strip(), book_title.get('href'))\n            The Bell Jar /book/show/6514.The_Bell_Jar\n            Ariel /book/show/395090.Ariel\n            The Collected Poems /book/show/31426.The_Collected_Poems\n            The Unabridged Journals of Sylvia Plath /book/show/11623.The_Unabridged_Journals_of_Sylvia_Plath\n\n    "
    return book_tr.find('a', attrs={'class': 'bookTitle'})