Browse Source

Merge pull request #3534 from mano3m/develop_fix_torrentshack

Fix torrentshack
pull/3176/merge
Ruud Burger 11 years ago
parent
commit
c5a4bc9a1b
  1. 6
      couchpotato/core/media/_base/providers/torrent/torrentshack.py

6
couchpotato/core/media/_base/providers/torrent/torrentshack.py

@ -48,9 +48,9 @@ class Base(TorrentProvider):
'name': six.text_type(link.span.string).translate({ord(six.u('\xad')): None}),
'url': self.urls['download'] % url['href'],
'detail_url': self.urls['download'] % link['href'],
'size': self.parseSize(result.find_all('td')[4].string),
'seeders': tryInt(result.find_all('td')[6].string),
'leechers': tryInt(result.find_all('td')[7].string),
'size': self.parseSize(result.find_all('td')[5].string),
'seeders': tryInt(result.find_all('td')[7].string),
'leechers': tryInt(result.find_all('td')[8].string),
})
except:

Loading…
Cancel
Save