简体   繁体   中英

How to get HTML data from a webpage and invoke the click event of the Next Page link using .NET when page is logged in

I need to create a chrome extension to scrape date from LinkedIn, I will manually log in to LinkedIn. and run a search that will return multiple pages. I will then click on the chrome extension icon, At that point, the extension should read the content of the page (HTML) and invoke an HTTP post request to a Web API service that takes that data ( HTML ) as string and saves it as a file on disk. Then the extension should invoke the click event of the Next Page link and when the content loaded do the same. And keep going until the last page.

You need to create a content script for reading the html of a page: https://developer.chrome.com/extensions/content_scripts

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