parent
da7f35616e
commit
e2810f6d4e
|
|
@ -37,7 +37,10 @@ module.exports = async (ctx) => {
|
|||
const link = $(item).find('a:nth-of-type(2)');
|
||||
const itemUrl = 'http://www.dytt8.net' + link.attr('href');
|
||||
const other = await load(itemUrl, ctx);
|
||||
|
||||
return {
|
||||
enclosure_url: String(other.match(/magnet:.*?(?=">)/)),
|
||||
enclosure_type: 'application/x-bittorrent',
|
||||
title: link.text(),
|
||||
description: other,
|
||||
pubDate: new Date(
|
||||
|
|
|
|||
Loading…
Reference in New Issue