get_next_url() and  fetch_page() work fine now