def scrape_author_books(soup):
    "Retrieve books from an author's page.\n\n    Args:\n        soup (bs4.element.Tag): connection to an author books page.\n\n    Returns:\n        yield bs4.element.Tag: ``<tr>`` element.\n\n    "
    table_tr = soup.find('tr')
    while table_tr:
        if (table_tr.name == 'tr'):
            (yield table_tr)
        table_tr = table_tr.next_sibling
Retrieve books from an author's page.

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

Returns:
    yield bs4.element.Tag: ``<tr>`` element.
def scrape_author_books(soup):
    "Retrieve books from an author's page.\n\n    Args:\n        soup (bs4.element.Tag): connection to an author books page.\n\n    Returns:\n        yield bs4.element.Tag: ``<tr>`` element.\n\n    "
    table_tr = soup.find('tr')
    while table_tr:
        if (table_tr.name == 'tr'):
            (yield table_tr)
        table_tr = table_tr.next_sibling