Screen scraping web page after delay

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

    To execute the JavaScript I use webkit to render the page, which is the engine used by Chrome and Safari. Here is an example using its Python bindings.

    Webkit also has .NET bindings but I haven't used them.

提交回复
热议问题