C# httpwebrequest and javascript

前端 未结 7 1947
北恋
北恋 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:31

    Use HttpWebRequest to download the page. Search the source code for the relevant AJAX information and then use a new HttpWebRequest to pull that data down.

提交回复
热议问题