mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-24 12:15:32 +08:00
fix: 哔嘀影视返回最新 BT / 磁力源
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user