Updated ytdl-core to the latest version (3.1.2)

This commit is contained in:
Moorad
2020-07-08 18:43:23 +03:00
parent 88dd76db30
commit a3a17f2765
3 changed files with 21 additions and 13 deletions

View File

@@ -18,6 +18,7 @@ app.get('/downloadmp3', async (req, res, next) => {
await ytdl.getBasicInfo(url, {
format: 'mp4'
}, (err, info) => {
if (err) throw err;
title = info.player_response.videoDetails.title.replace(/[^\x00-\x7F]/g, "");
});

View File

@@ -1793,12 +1793,19 @@
}
},
"m3u8stream": {
"version": "0.6.5",
"resolved": "https://registry.npmjs.org/m3u8stream/-/m3u8stream-0.6.5.tgz",
"integrity": "sha512-QZCzhcfUliZfsOboi68QkNcMejPKTEhxE+s1TApvHubDeR8ythm4ViWuYFqgUwZeoHe8q0nsPxOvA3lQvdSzyg==",
"version": "0.7.1",
"resolved": "https://registry.npmjs.org/m3u8stream/-/m3u8stream-0.7.1.tgz",
"integrity": "sha512-z6ldnAdhbuWOL6LmMkwptSZGzj+qbRytMKLTbNicwF/bJMjf9U9lqD57RNQUFecvWadEkzy6PDjcNJFFgi19uQ==",
"requires": {
"miniget": "^1.6.1",
"sax": "^1.2.4"
},
"dependencies": {
"miniget": {
"version": "1.7.2",
"resolved": "https://registry.npmjs.org/miniget/-/miniget-1.7.2.tgz",
"integrity": "sha512-USPNNK2bnHLOplX8BZVMehUkyQizS/DFpBdoH0TS+fM+hQoLNg9tWg4MeY9wE8gfY0pbzmx5UBEODujt3Lz8AA=="
}
}
},
"make-dir": {
@@ -1880,9 +1887,9 @@
}
},
"miniget": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/miniget/-/miniget-1.7.0.tgz",
"integrity": "sha512-yrgaDSMRzrfYTkudB4Y6xK8pCb7oAH2bvfv6iPY2m6CedZfs9yK4b/ofh0Vzv08hCYXH/HHkoS8an6fkWtOAQA=="
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/miniget/-/miniget-2.0.1.tgz",
"integrity": "sha512-MX+QfVIPAutz6c+T7WKuFKtjcw0nOyRRh1ubhTDD+z/e/pKcSAsfAV63aQKUgb1MFRT1GyfJeW53N5fHkX0wIA=="
},
"minimatch": {
"version": "3.0.4",
@@ -2904,13 +2911,13 @@
"dev": true
},
"ytdl-core": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-2.0.1.tgz",
"integrity": "sha512-PZBcVzQpkBxi9OQh9I4QIrYNmkbM/zh4QJQuxE8I6RojLUVYkkps5iLYquE3H+pwmBXtEXQMDJfVRajgdiz+iA==",
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-3.1.2.tgz",
"integrity": "sha512-H2ja9W9j89TTf+LMQxo1VrdpUNCcjjHnwY6M4NmvgUaQLwNZnIoBwbch4iaT8q75trUK83PzmbihkUBd5Poyfg==",
"requires": {
"html-entities": "^1.1.3",
"m3u8stream": "^0.6.3",
"miniget": "^1.7.0",
"html-entities": "^1.3.1",
"m3u8stream": "^0.7.1",
"miniget": "^2.0.1",
"sax": "^1.1.3"
}
}

View File

@@ -12,7 +12,7 @@
"dependencies": {
"cors": "^2.8.5",
"express": "^4.16.4",
"ytdl-core": "^2.0.0"
"ytdl-core": "^3.1.2"
},
"devDependencies": {
"nodemon": "^1.18.10"