fix(rutracker): fix first post

This commit is contained in:
Alexey Kasyanchuk 2018-08-16 09:01:15 +03:00
parent 266c103321
commit f8fe2fc359

View File

@ -30,7 +30,7 @@ module.exports = class Rutracker
return { return {
name: topicTitle, name: topicTitle,
poster: $('.post_body .postImgAligned').attr('title'), poster: $('.post_body .postImgAligned').attr('title'),
description: $('.post_body').text(), description: $('.post_body').first().text(),
rutrackerThreadId: parseInt($('a.magnet-link').attr('data-topic_id')), rutrackerThreadId: parseInt($('a.magnet-link').attr('data-topic_id')),
} }
} }