def scrape_quotes(soup):
    'Retrieve all ``<div>`` quote element from a quote page.\n\n    Args:\n        soup (bs4.element.Tag): connection to the quote page.\n\n    Returns:\n        yield bs4.element.Tag\n\n    '
    for container_div in scrape_quotes_container(soup):
        quote_div = container_div.find('div', attrs={'class': 'quote'})
        while quote_div:
            if ((quote_div.name == 'div') and quote_div.get('class') and ('quote' in quote_div.get('class'))):
                (yield quote_div)
            quote_div = quote_div.next_sibling
Retrieve all ``<div>`` quote element from a quote page.

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

Returns:
    yield bs4.element.Tag
def scrape_quotes(soup):
    'Retrieve all ``<div>`` quote element from a quote page.\n\n    Args:\n        soup (bs4.element.Tag): connection to the quote page.\n\n    Returns:\n        yield bs4.element.Tag\n\n    '
    for container_div in scrape_quotes_container(soup):
        quote_div = container_div.find('div', attrs={'class': 'quote'})
        while quote_div:
            if ((quote_div.name == 'div') and quote_div.get('class') and ('quote' in quote_div.get('class'))):
                (yield quote_div)
            quote_div = quote_div.next_sibling