Skip to content

Commit

Permalink
fix(route): eztv using new domain (DIYgod#7467)
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 authored May 8, 2021
1 parent ae4bdfa commit e4ad73e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/routes/eztv/imdb.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ 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',
},
});

const { torrents } = response.data;

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,
Expand Down

0 comments on commit e4ad73e

Please sign in to comment.