def find_pagination_max(soup_html):
    """
    Find the page range from pagination html.
    
    Args:
        soup_html: The html from the base page loaded which may contain pagination
    
    Returns:
        Either the max pagination integer or None
    """
    print("Finding pagination max")
    a_refs = soup_html.select('.pagination a')
    pages = []
    for ref in a_refs:
        num_str = ref.get_text()
        try:
            num_int = int(num_str)
            pages.append(num_int)
        except:
            pass
    try:
        page_max = max(pages)
        return page_max
    except:
        return None