You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to scrape the entire page and save it into a JSON file using PJScrape The following code runs and I can see the entire DOM in standard output, but I don't see the file scrape_output.json in the current directory
pjs.addSuite({
// single URL or array
url: 'http://en.wikipedia.org/wiki/List_of_towns_in_Vermont',
// single function or array, evaluated in the client
scraper: function() {
return $(document).text();
},
// options: 'json' or 'csv'
format: 'json',
// options: 'stdout' or 'file' (set in config.outFile)
writer: 'file',
outFile: 'scrape_output.json'
});
The text was updated successfully, but these errors were encountered:
I am trying to scrape the entire page and save it into a JSON file using PJScrape The following code runs and I can see the entire DOM in standard output, but I don't see the file scrape_output.json in the current directory
The text was updated successfully, but these errors were encountered: