fix: 哔嘀影视返回最新 BT / 磁力源

This commit is contained in:
nczitzk 2021-01-13 10:53:17 +08:00
parent c89ff78f28
commit 7a06c9eaaf
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ module.exports = async (ctx) => {
const torrents = content('#download-wrapper').nextAll('.list').eq(0);
item.description = content('.info0').html() + `<div><b>下载地址:</b>${downloadLinks}</div>` + `${torrents.html() ? `<div><b>种子列表:</b>${torrents.html()}</div>` : ''}`;
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;