G
G
Gio Archi2017-05-19 14:08:26
HTML
Gio Archi, 2017-05-19 14:08:26

Why doesn't parsing a page with HTML Agility Pack produce all of the HTML code?

Dear, please tell me why the page parsing method using HTML Agility Pack does not give the entire page code. When comparing the page code in the browser inspector and searching for elements in the value window, VS did not find (the branch ends with the Empty parameter) the code block in the variable responsible for the widget with comments provided for it by a third-party resource. How it is possible to bypass it? I tried to solve this problem using AngleSharp, but there were difficulties with it even at the stage of calling the parsing method (The example from the official documentation does not start due to errors in the method call syntax). Thanks everyone for the replies!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter, 2017-05-19
@petermzg

Are you sure that there is this code, maybe it is added to the page through javascript

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question