def get_last_page_num(hitcon_zeroday_url):
    r = requests.get(hitcon_zeroday_url)
    soup = BeautifulSoup(r.text, 'html.parser')
    try:
        return int(soup.find('span', {'class': 'last-page'}).text)
    except Exception:
        return 0
def get_last_page_num(hitcon_zeroday_url):
    r = requests.get(hitcon_zeroday_url)
    soup = BeautifulSoup(r.text, 'html.parser')
    try:
        return int(soup.find('span', {'class': 'last-page'}).text)
    except Exception:
        return 0