diff --git a/lib/routes/bde4/index.js b/lib/routes/bde4/index.js index f7533d3cb..217725087 100644 --- a/lib/routes/bde4/index.js +++ b/lib/routes/bde4/index.js @@ -61,7 +61,7 @@ module.exports = async (ctx) => { const torrents = content('#download-wrapper').nextAll('.list').eq(0); item.description = content('.info0').html() + `
下载地址:${downloadLinks}
` + `${torrents.html() ? `
种子列表:${torrents.html()}
` : ''}`; - item.enclosure_url = torrents.html() ? torrents.find('a.header').eq(0).attr('href') : downloadResponse.data.pop().url; + item.enclosure_url = torrents.html() ? torrents.find('a.header').last().attr('href') : downloadResponse.data.pop().url; item.enclosure_type = 'application/x-bittorrent'; return item;