NodeJS Web Scraping - Form Submittion [closed]

2019-04-17 03:40发布

I'm trying to use X-Ray to do the following, i'm not famliar with web scarping, and i'm looking for a technolegy to fit my use.

Browse to a page, allocate a specific form in it, set some vars, and submit it. Then get the other page, and so on...

What's the best NodeJS based solution with examples and documents to get this done?

Thanks.

1条回答
我只想做你的唯一
2楼-- · 2019-04-17 04:18

There are many Node modules created for web scraping.

Some of them are:

See Node.js Scraping Libraries - a very nice comparison by Moritz Klack on Webkid Blog.

There are some nice articles online on how to use some of them, mostly about Cheerio:

It's worth mentioning that the x-ray module was written by the author of Cheerio - see: X-Ray: A Scraper by the Author of Cheerio on DailyJS.

查看更多
登录 后发表回答