[scraper] fix rutor list seeders

This commit is contained in:
TheBeastLT
2021-02-19 22:43:22 +01:00
parent 3f6515fbfa
commit e7d0c2b620
2 changed files with 4 additions and 4 deletions

View File

@@ -86,8 +86,8 @@ function parseTableBody(body) {
magnetLink: magnetLink,
torrentLink: $(links[0]).attr('href'),
torrentId: $(links[2]).attr('href').match(/torrent\/(\d+)/)[1],
seeds: parseInt(peers.find('.green').text()),
leaches: parseInt(peers.find('.red').text()),
seeders: parseInt(peers.find('.green').text()),
leechers: parseInt(peers.find('.red').text()),
uploadDate: parseRussianDate($(row[0]).text()),
size: $(row[row.length - 2]).html().replace(' ', ' '),
}