0

I try to get comments of a Instagram post with C#. But the thing is there is this 'Load more comments' button which as it refers does its job and when i take a look a Firefox HTML codes all of the sudden new <li> element appears out of no where. Is this data getting there from a Database or it's embedded in HTML file? Is there a way to reach that data? I tried SgmlReader but i couldn't manage get all of the data that i'm looking for.

  • 1
    use selenium to click on the button to load more comments then you should be able to see the data – Julian Silvestri Feb 27 '19 at 18:23
  • 1
    Try reading [this question](https://stackoverflow.com/questions/24130650/scraping-data-dynamically-generated-by-javascript-in-html-document-using-c-sharp). I think it will help you. – heap1 Feb 27 '19 at 18:26

0 Answers0