Skip to content

How can i load subsources using node-fetch? #1645

Answered by GabenGar
mai-maggie asked this question in Q&A
Discussion options

You must be logged in to vote

fetch isn't responsible for parsing HTML, you need to use the likes of jsdom to emulate a DOM structure of the HTML document on the server.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jimmywarting
Comment options

@GabenGar
Comment options

Answer selected by jimmywarting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants