def get_next_page_url(soup):
    """ Get next page url from main page soup"""

    next_page_elements = soup.select('a[id="next"]')

    if len(next_page_elements) < 1:
        # reach the last page
        return False
    else:
        next_page = 'https://www.javbus2.pw' + next_page_elements[0]['href']

    return next_page