mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix(route): eztv using new domain (#7467)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user