Skip to content

Commit

Permalink
Skytorrent fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzBlitz98 committed Sep 10, 2017
1 parent 1634d34 commit 0902d18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/skytorrents.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0902d18

Please sign in to comment.