Screen scraping web page after delay

后端 未结 4 882
盖世英雄少女心
盖世英雄少女心 2020-12-20 07:49

I\'m trying to scrape a web page using C#, however after the page loads, it executes some javascript which loads more elements into the DOM which I need to scrape. A standar

4条回答
  •  鱼传尺愫
    2020-12-20 08:05

    You would need to execute the javascript yourself to get this functionality. Currently, your code only receives whatever the server replies with at the URL you request. The rest of the listings are "showing up" because the browser downloads, parses, and executes the accompanying javascript.

提交回复
热议问题