Merge pull request #6688 from nczitzk/feature/bde4
fix: 哔嘀影视返回最新 BT / 磁力源
This commit is contained in:
commit
77f4cc7a79
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue