From e2220d65dcb545227ab3b9d780991493c62a7818 Mon Sep 17 00:00:00 2001 From: "cn.yimian.xyz" Date: Thu, 9 Jul 2020 12:01:38 +0800 Subject: [PATCH] proxy --- makeCache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makeCache.js b/makeCache.js index fb3aec8..0538210 100644 --- a/makeCache.js +++ b/makeCache.js @@ -49,7 +49,7 @@ var getVideoInfo = (fName, conf, item) => { o['name'] = getVideoName(arr, conf); o['danmakuID'] = md5(item+o.no).substring(0, 8); o['url'] = 'https://onedrive.yimian.xyz/video/' + item + '/' + fName; - o['extra'] = ['https://proxy.yimian.xyz/get/?url='+(new Buffer(o['url']).toString('base64')), 'https://api.yimian.xyz/video/?path=' + item + '/' + fName]; + o['extra'] = ['https://proxy.yimian.xyz/get/?url='+(new Buffer(o['url']).toString('base64'))]; return o; }