From e4ad73ece56243a3ef513787236b1286e4d33945 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Sun, 9 May 2021 06:03:56 +0800 Subject: [PATCH] fix(route): eztv using new domain (#7467) --- lib/routes/eztv/imdb.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/routes/eztv/imdb.js b/lib/routes/eztv/imdb.js index 2034d2f9fe353b..0e70a67d6c0d71 100644 --- a/lib/routes/eztv/imdb.js +++ b/lib/routes/eztv/imdb.js @@ -5,9 +5,9 @@ module.exports = async (ctx) => { const response = await got({ method: 'get', - url: `https://eztv.io/api/get-torrents?imdb_id=${imdb_id}`, + url: `https://eztv.it/api/get-torrents?imdb_id=${imdb_id}`, headers: { - Referer: 'https://eztv.io', + Referer: 'https://eztv.it', }, }); @@ -15,7 +15,7 @@ module.exports = async (ctx) => { ctx.state.data = { title: `EZTV's Torrents of IMBD ID: ${imdb_id}`, - link: 'https://eztv.io', + link: 'https://eztv.it', description: `EZTV's Torrents of IMBD ID: ${imdb_id}`, item: torrents.map((item) => ({ title: item.title,