Fix python3 failure in find_api_page