How can i load subsources using node-fetch? #1645
Answered
by
GabenGar
mai-maggie
asked this question in
Q&A
-
so I try to get the HTML from a URL using node-fetch but I can't get the video subsources. I check the options part in readme but didn't see any mentions about how to fetch the video sources. |
Beta Was this translation helpful? Give feedback.
Answered by
GabenGar
Nov 24, 2022
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jimmywarting
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fetch
isn't responsible for parsing HTML, you need to use the likes ofjsdom
to emulate a DOM structure of the HTML document on the server.