Is it possible to retrieve all the fonts in a server-side web page (using Node.js) by having only the url of the page?
What I am trying to do is:
const response = await got('http://...');
const $ = cheerio.load(response.body);
(using Cheerio and Got libraries).
Once you have loaded the page with Cheerio and have the $ variable, is it possible to obtain the fonts in that body?
What I would like to achieve is a result similar to the execution of the command:
getComputedStyle(document.body).fontFamily
in the web console of a Browser.
Are there alternatives otherwise? For example using Puppeteer or other libraries?