Saturday, 1 April 2017

GET or POST request for running a node js script to scrape data

Hi guy,I would appreciate the input on this issue. I wrote a script to scrape data from site(personal project) which works fine in retrieving the data but i am not sure how to trigger the script and pass along certain params over to it from the web application. I am assuming GET request from a form i have to pass along the params but i keep getting a 404 error. My goal is to trigger the script to collect the data from the site and then i can organize it on my own web app.Is that the correct way to trigger a node js script and get the data back into my web app? If so why i could i be getting a 404 error. Thank you for any input i am still very a noob to node js.

Submitted April 02, 2017 at 01:11AM by tht_chico

No comments:

Post a Comment