N
N
Nikolai2019-12-31 22:04:06
React
Nikolai, 2019-12-31 22:04:06

Is there any library, component for React to parse site content?

Is there any library, component for React to parse site content?
You need to get a link to the images of a specific site.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
FLighter, 2019-01-01
Demidovets @Nik_o_lay

You are confusing concepts and what React is for. It is responsible only for the display level and will have nothing to do with parsing (maybe this is the model / implementation level).
Answering your question: depending on the site, you will either need to make a request and parse the code regularly and find the link, or use something like cheerio on the server side and look for the link from there, and then send the result to React

A
Alexey Nikolaev, 2019-01-01
@Heian

It's time to ask Santa Claus for this library.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question