def _parse_alt_title(html_chunk):
    """
    Parse title from alternative location if not found where it should be.

    Args:
        html_chunk (obj): HTMLElement containing slice of the page with details.

    Returns:
        str: Book's title.
    """
    title = html_chunk.find("img", fn=has_param("alt"))

    if not title:
        raise UserWarning("Can't find alternative title source!")

    return title[0].params["alt"].strip()
def _parse_alt_title ( html_chunk ) : title = html_chunk . find ( "img" , fn = has_param ( "alt" ) ) if not title : raise UserWarning ( "Can't find alternative title source!" ) return title [ 0 ] . params [ "alt" ] . strip ( )
Parse title from alternative location if not found where it should be.

    Args:
        html_chunk (obj): HTMLElement containing slice of the page with details.

    Returns:
        str: Book's title.