如何在 Vb.net 中的这个网站(https://pokehubcoordinates.com/pvp)中获取 pokemon 信息?我尝试了两种方法。但它没有用
代码
Dim sourceString As String = New System.Net.WebClient().DownloadString("https://pokehubcoordinates.com/pvp")
代码
Dim request As WebRequest = WebRequest.Create("https://pokehubcoordinates.com/pvp") Using response As WebResponse = request.GetResponse() Using reader As New StreamReader(response.GetResponseStream()) Dim html As String = reader.ReadToEnd() File.WriteAllText("e:\test.html", html) End Using End Using