C# httpwebrequest and javascript

前端 未结 7 1951
北恋
北恋 2020-11-28 13:02

I am using C# HttpWebRequest to get some data of a webpage. The problem is that some of the data is updated using javascript/ajax after the page is loaded and I am not getti

7条回答
  •  悲&欢浪女
    2020-11-28 13:22

    Use HttpWebRequest to download the page, programatically search the source code for the relevant ajax information and then use a new HttpWebRequest to pull that data down.

提交回复
热议问题