Reconnect FIX

This commit is contained in:
killer069 2021-08-17 12:52:49 +05:30
parent 06ebe8e9c7
commit 102ec0a595
3 changed files with 5 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "play-dl",
"version": "0.1.2",
"version": "0.1.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "play-dl",
"version": "0.1.2",
"version": "0.1.3",
"license": "MIT",
"dependencies": {
"got": "^11.8.2"

View File

@ -1,6 +1,6 @@
{
"name": "play-dl",
"version": "0.1.2",
"version": "0.1.3",
"description": "YouTube, SoundCloud, Spotify downloader",
"main": "dist/index.js",
"typings": "dist/index.d.ts",

View File

@ -89,6 +89,7 @@ export async function stream(url : string, options? : StreamOptions){
'Connection': 'keep-alive',
'Accept-Encoding': '',
'Accept-Language': 'en-US,en;q=0.8'
}
},
http2 : true
})
}