How to mimic "Save As" of a webpage to get its source code?

Viewed 74

I'm trying to download the source code of a webpage.

When I tried "View Page Source", the portion of the webpage that I'm interested in is not in it. It seems to be "hidden" in

<div class="row5" info_abc></div>

and the actual text/formating is not there.

If I do a "Save As", I get everything, including the portion of the page that I want. The code also looks a bit different:

<div info_abc="" class="row5">...

I can also see this code if I do the "Inspect Element" using Chrome.

How can I get the full source code of this webpage (not including other parts of the website), like what I can get when I "Save" the webpage? Can I do it using curl or wget?

1 Answers
Related