diff --git a/lib/routes/dytt/index.js b/lib/routes/dytt/index.js index 90b1db944..738dfaecc 100644 --- a/lib/routes/dytt/index.js +++ b/lib/routes/dytt/index.js @@ -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(