Created
October 28, 2016 16:27
-
-
Save ei-grad/9e48bc4af3f7925ef215af6a8df1c857 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var system = require('system'); | |
| var webPage = require('webpage'); | |
| var page = webPage.create(); | |
| page.open(system.args[1], function (status) { | |
| console.log(page.plainText); | |
| phantom.exit(); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment