fix(route): eztv using new domain (#7467)
This commit is contained in:
parent
ae4bdfa430
commit
e4ad73ece5
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue