var PythonShell = require('python-shell');

var options = {
	scriptPath: 'realclearpolitics-scraper',
	args: ['http://www.realclearpolitics.com/epolls/2016/president/nv/nevada_democratic_presidential_caucus-5337.html']
}

PythonShell.run('scraper.py', options, function(err, results) {
	if (err) throw err;
	console.log(results);
});

var PythonShell = require('python-shell');

var options = {
	scriptPath: 'realclearpolitics-scraper',
	args: [
		'http://www.realclearpolitics.com/epolls/2016/president/nv/nevada_democratic_presidential_caucus-5337.html',
		'test.json'
	]
}

PythonShell.run('scraper.py', options, function(err, results) {
	if (err) throw err;
	console.log(results);
});

--- 
+++ 
@@ -2,10 +2,7 @@
 
 var options = {
 	scriptPath: 'realclearpolitics-scraper',
-	args: [
-		'http://www.realclearpolitics.com/epolls/2016/president/nv/nevada_democratic_presidential_caucus-5337.html',
-		'test.json'
-	]
+	args: ['http://www.realclearpolitics.com/epolls/2016/president/nv/nevada_democratic_presidential_caucus-5337.html']
 }
 
 PythonShell.run('scraper.py', options, function(err, results) {
Update python script arguments in node script
