def get_quote_name_id(quote_div):
    'Get the name and id of a ``<div>`` quote element.\n\n    Args:\n        quote_div (bs4.element.Tag): ``<div>`` quote element from a quote page.\n\n    Returns:\n        tuple: id and name.\n\n    '
    quote_href = get_quote_likes(quote_div).get('href')
    quote_id = quote_href.split('/')[(- 1)].split('-')[0]
    quote_name = '-'.join(quote_href.split('/')[(- 1)].split('-')[1:])
    return (quote_id, quote_name)
Get the name and id of a ``<div>`` quote element.

Args:
    quote_div (bs4.element.Tag): ``<div>`` quote element from a quote page.

Returns:
    tuple: id and name.
def get_quote_name_id(quote_div):
    'Get the name and id of a ``<div>`` quote element.\n\n    Args:\n        quote_div (bs4.element.Tag): ``<div>`` quote element from a quote page.\n\n    Returns:\n        tuple: id and name.\n\n    '
    quote_href = get_quote_likes(quote_div).get('href')
    quote_id = quote_href.split('/')[(- 1)].split('-')[0]
    quote_name = '-'.join(quote_href.split('/')[(- 1)].split('-')[1:])
    return (quote_id, quote_name)