From e97090fcc08fa298304c09def4fe44d2a4038565 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sat, 10 Dec 2016 01:35:40 +0800 Subject: [PATCH] rm http-proxy --- nodejs/routes/video-bilibili.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs/routes/video-bilibili.js b/nodejs/routes/video-bilibili.js index 527f784..88e0874 100644 --- a/nodejs/routes/video-bilibili.js +++ b/nodejs/routes/video-bilibili.js @@ -18,7 +18,7 @@ function getData(cid, res, type) { else { fetch(api, { headers: {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36'}, - agent: new HttpProxyAgent('http://183.61.236.54:3128/') + // agent: new HttpProxyAgent('http://183.61.236.54:3128/') }).then( response => response.text() ).then((data) => {