Browse Source

Merge pull request #7147 from whitter/develop

Updated TorrentLeech provider for new site version
pull/6956/merge
Ruud Burger 9 years ago
committed by GitHub
parent
commit
90c4432c94
  1. 2
      couchpotato/core/media/_base/providers/torrent/torrentleech.py

2
couchpotato/core/media/_base/providers/torrent/torrentleech.py

@ -50,7 +50,7 @@ class Base(TorrentProvider):
results.append({
'id': link['href'].replace('/torrent/', ''),
'name': six.text_type(link.string),
'url': self.urls['download'] % url['href'],
'url': url['href'],
'detail_url': self.urls['download'] % details['href'],
'size': self.parseSize(result.find_all('td')[4].string),
'seeders': tryInt(result.find('td', attrs = {'class': 'seeders'}).string),

Loading…
Cancel
Save