scrapysharp

C# scrape correct web content following jquery

蹲街弑〆低调 提交于 2019-12-24 08:07:40
问题 I've been using HtmlAgilityPack for awhile but the web resource I have been working with now has a (seems like) jQuery protocol the browser passes through. What I expect to load is a product page but what actually loads (verified by a WebBrowser control, and a WebClient DownloadString) is a redirect, asking the visitor to select a consultant and sign up with them. In other words, using Chrome's Inspect >> Elements tool, I get: <div data-v-1a7a6550="" class="product-extra-images"> <img data-v