best way to save what you love
Svelte collaborationdownloaderinstagramjavascriptmusicredditsocial-mediasoundcloudsveltetiktoktwittertypescriptvideovimeovkwebappyoutubeyoutube-downloader
stream/internal: convert headers to iterable object
wukkoeb65e816af2f
diff --git a/src/modules/stream/internal.js b/src/modules/stream/internal.jsindex 8ab2ec76..7a155a9a 100644--- a/src/modules/stream/internal.js+++ b/src/modules/stream/internal.js@@ -85,7 +85,7 @@ async function handleGenericStream(streamInfo, res) {try {const req = await request(streamInfo.url, {headers: {- ...streamInfo.headers,+ ...Object.fromEntries(streamInfo.headers),host: undefined},dispatcher: streamInfo.dispatcher,