mardi 20 mars 2018

Scrape data from website from on change event using node.js

I'm trying scrape data from one website. In that when page load there is drop down list and I have to select specific value from the dropdown.

For scrapping data from web I'm using cheerio reference link is https://www.npmjs.com/package/cheerio.

When dropdown value change then they call some Javascript function same like this way https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onchange.

I am able to change the dropdown value in node.js but value's are not change. When I scrape after change the value of the dropdown, I'm still getting default page load data.

I have search a lot on that but I didn't get any proper output. I need some module or code which is works fine with 'node.js'.




Aucun commentaire:

Enregistrer un commentaire