Thursday, 1 June 2017

How do I download a web page's html and save it to a variable in Node.js?

I want to download a page's HTML and save it to a variable. I am new to Node and to JavaScript and I tried following this post, as well as I read this, but neither of them worked. I tried searching for something similar to C#'s WebClient, but I didn't find anything. So I really hope someone here can help me out. Thank you in advance!



via J. o'D.

No comments:

Post a Comment