From d1a11a40b424fdd5ecc1efcdb93721dab8a6c62f Mon Sep 17 00:00:00 2001 From: Tony Date: Sat, 27 May 2023 17:04:15 +0300 Subject: [PATCH] fix(route): nhentai (#12566) --- lib/v2/nhentai/util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/v2/nhentai/util.js b/lib/v2/nhentai/util.js index 90d830991..df015ff18 100644 --- a/lib/v2/nhentai/util.js +++ b/lib/v2/nhentai/util.js @@ -64,7 +64,8 @@ const getCookie = async (username, password, cache) => { }; const gotByIp = (url, ...options) => - got(url.replace(/^https:\/\/nhentai.net\//, 'http://138.2.77.198:3002/'), { + // credit: https://github.com/sinkaroid/jandapress/pull/23 + got(url.replace(/^https:\/\/nhentai.net\//, 'http://129.150.63.211:3002/'), { ...options, headers: { host: 'nhentai.net',