简体   繁体   中英

Alternative of PuppeteerSharp and Selenium to scrape web page after login in C#

I have tried both PuppeteerSharp and Selenium to scrape the webpage after login and redirect to the page and scrape the HTML.

But I noticed there is a performance issue, CPU uses are increased by 20-30%.

Is there any alternative to login using C# and navigate another page to scrape the HTML?

I used HTML Agility pack in the past. I didn't see any high CPU usage. That could depend on what the scraping is doing, and how you've setup the tasks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM