Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
C#
Hi,

I am trying to scrape data from a page with similar content(Shopping website) using HtmlAgility pack.

There is a button to load more items designed of <span> tag. On click it loads more items on same page.

If it is designed using <a> tag then I will get the next items using the href attribute URL in tag <a> and also I will be loading new page for the new next items, So no problem.

But here no new URL and items loaded on same page.

So is there any way to get this functionality implemented? How to trigger that load more button to get more items?


What I have tried:

I searched on google for solution but I didn't find one.
All I got is I cant trigger button click event using HtmlAgilityPack.
Posted
Comments
F-ES Sitecore 17-Jun-16 6:20am    
What you're doing doesn't sound very ethical, so it's unlikely people will want to help you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900