def search_page(hitcon_zeroday_base_url, hitcon_zeroday_category_url):
    last_page_num = get_last_page_num(hitcon_zeroday_category_url)
    msg_list = []
    msg_list_len = len(msg_list)
    for page_num in range(1, (last_page_num + 1)):
        page_url = urljoin(hitcon_zeroday_category_url, f'page/{page_num}')
        r = requests.get(page_url)
        if (r.status_code != 200):
            break
        soup = BeautifulSoup(r.text, 'html.parser')
        for li in soup.findAll('li', {'class': 'strip'}):
            a = li.find('h4').find('a')
            report_url = urljoin(hitcon_zeroday_base_url, a['href'])
            title = a.text
            _data = get_report_info(report_url)
            if _data:
                msg_list.append(f"[[{_data['status']} - {_data['risk']}]] {_data['type']}")
                msg_list.append(f'[{title}]({report_url})')
        if (len(msg_list) == msg_list_len):
            break
        msg_list_len = len(msg_list)
    return msg_list
def search_page(hitcon_zeroday_base_url, hitcon_zeroday_category_url):
    last_page_num = get_last_page_num(hitcon_zeroday_category_url)
    msg_list = []
    msg_list_len = len(msg_list)
    for page_num in range(1, (last_page_num + 1)):
        page_url = urljoin(hitcon_zeroday_category_url, f'page/{page_num}')
        r = requests.get(page_url)
        if (r.status_code != 200):
            break
        soup = BeautifulSoup(r.text, 'html.parser')
        for li in soup.findAll('li', {'class': 'strip'}):
            a = li.find('h4').find('a')
            report_url = urljoin(hitcon_zeroday_base_url, a['href'])
            title = a.text
            _data = get_report_info(report_url)
            if _data:
                msg_list.append(f"[[{_data['status']} - {_data['risk']}]] {_data['type']}")
                msg_list.append(f'[{title}]({report_url})')
        if (len(msg_list) == msg_list_len):
            break
        msg_list_len = len(msg_list)
    return msg_list