I
I
ImyaFamilia2016-12-22 15:08:13
JavaScript
ImyaFamilia, 2016-12-22 15:08:13

How to parse page code using node.js (express.js)?

You need to parse the source code of the page by url. How to do this in node.js?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Mike Khromov, 2016-12-22
@MikeSilence

Make a request to the url, if you get html in the response, convert it to a string and run and cut by tags.

V
Vladimir Io, 2016-12-22
@vawsan

https://blog.risingstack.com/node-hero-node-js-req...

D
Dark Hole, 2016-12-22
@abyrkov

You need Cheerio

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question