diff --git a/lib/skytorrents.js b/lib/skytorrents.js index c345f78..4498a84 100644 --- a/lib/skytorrents.js +++ b/lib/skytorrents.js @@ -39,8 +39,8 @@ module.exports = { torrent_size = find_torrent_size.first().text(); date_added = find_torrent_date.first().text(); - links = $(torrents).find('td a')[2]; - + links = $(torrents).find('td a'); + console.log(links); $(links).each(function(i, link){ if($(link).attr('href').indexOf("magnet:?xt=urn:") > -1) {