aboutsummaryrefslogtreecommitdiffstats
path: root/build/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/server.js')
-rw-r--r--build/server.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/build/server.js b/build/server.js
index 6616817..ecf4c3b 100644
--- a/build/server.js
+++ b/build/server.js
@@ -6538,9 +6538,7 @@ server_cache_YoutubeCache.prototype = {
if(useCookies == null) {
useCookies = false;
}
- return this.ytDlp.execAsync(url,{ dumpSingleJson : true, quiet : true, cookies : useCookies ? this.getCookiesPathOrNull() : null}).then(function(data) {
- return JSON.parse(data);
- });
+ return this.ytDlp.getInfoAsync(url,{ cookies : useCookies ? this.getCookiesPathOrNull() : null});
}
,getCookiesPathOrNull: function() {
var cookiesPath = "" + this.main.userDir + "/cookies.txt";
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage