diff --git a/docs/multimedia.md b/docs/multimedia.md index c1e7ee1cda..6431aa1bc0 100644 --- a/docs/multimedia.md +++ b/docs/multimedia.md @@ -25,13 +25,13 @@ pageClass: routes ::: tip 提示 -网站提供了全部种子的 RSS: https://eztv.ag/ezrss.xml +网站提供了全部种子的 RSS: https://eztv.io/ezrss.xml ::: ### Lookup Torrents by IMDB ID - + ## JavBus diff --git a/lib/routes/eztv/imdb.js b/lib/routes/eztv/imdb.js index a9c8878e46..afbadc363c 100644 --- a/lib/routes/eztv/imdb.js +++ b/lib/routes/eztv/imdb.js @@ -5,9 +5,9 @@ module.exports = async (ctx) => { const response = await axios({ method: 'get', - url: `https://eztv.ag/api/get-torrents?imdb_id=${imdb_id}`, + url: `https://eztv.io/api/get-torrents?imdb_id=${imdb_id}`, headers: { - Referer: 'https://eztv.ag', + Referer: 'https://eztv.io', }, }); @@ -15,11 +15,13 @@ module.exports = async (ctx) => { ctx.state.data = { title: `EZTV's Torrents of IMBD ID: ${imdb_id}`, - link: 'https://eztv.ag', + link: 'https://eztv.io', description: `EZTV's Torrents of IMBD ID: ${imdb_id}`, item: torrents.map((item) => ({ title: item.title, - description: item.magnet_url, + description: ``, + enclosure_url: item.magnet_url, + enclosure_type: 'application/x-bittorrent', pubDate: new Date(item.date_released_unix * 1000).toUTCString(), link: item.torrent_url, })),