How to get the source code of a html page using VB.net?

前端 未结 3 1315
夕颜
夕颜 2020-12-09 00:34

I\'m writing a program that gets the source code of a web page with a video on it. It then uses regular expressions to isolate the download link of that video. then it uses

3条回答
  •  再見小時候
    2020-12-09 01:28

    This guy answered it very well.

    How can I get HTML page source for websites in VB.NET?

    This was his code:

    Dim sourceString As String = New System.Net.WebClient().DownloadString("SomeWebPage")
    

提交回复
热议问题