Screen scraping web page after delay

后端 未结 4 761
盖世英雄少女心
盖世英雄少女心 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:17

    The answer to this similar question says to use a web browser control to read the page in and process it before scraping it. Perhaps with some kind of timer delay to give the javascript some time to execute and return results.

提交回复
热议问题