Wednesday, 24 May 2017

Access a web page from Node script on desktop

I know that this could be a very stupid question, but, since I'm totally new to Javascript, I'm not sure about how to do this. I want to write a script and run it through node on my laptop, and, in this script, I want to interact with a web page in order to use functions like document.getElementById and stuff like that.

In Python one could do this by using something like Beautiful Soup or requests, but how do you do this in Javascript?



via g_rmz

No comments:

Post a Comment