A
A
Alex Ozerov2020-11-26 20:06:12
Node.js
Alex Ozerov, 2020-11-26 20:06:12

Which npm package to use for the bot?

I write a bot in a cart on a telegraph. It is necessary, upon request from the bot, to parse the site, namely: - go to the site, log in, read the data line and save it to the object. Recommend npm packages.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2020-11-26
@ozerovlife

https://www.npmjs.com/package/puppeteer
if the site is simple enough, not SPA or the like, does not pull a bunch of data that is rendered on the client, then you can use https://www.npmjs.com/package/node -fetch

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question