fix(route): eztv using new domain (#7467)

This commit is contained in:
Trim21
2021-05-08 18:03:56 -04:00
committed by GitHub
parent ae4bdfa430
commit e4ad73ece5
+3 -3
View File
@@ -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,