Browse Source
Update iptorrents.py
Iptorrent removed class from seeders/leachers td which is causing the script to fail.
pull/7327/head
Jonathan Braga
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
couchpotato/core/media/_base/providers/torrent/iptorrents.py
|
|
@ -82,8 +82,8 @@ class Base(TorrentProvider): |
|
|
|
torrent_download_url = self.urls['base_url'] + (result.find_all('td')[3].find('a'))['href'].replace(' ', '.') |
|
|
|
torrent_details_url = self.urls['base_url'] + torrent['href'] |
|
|
|
torrent_size = self.parseSize(result.find_all('td')[5].string) |
|
|
|
torrent_seeders = tryInt(result.find('td', attrs = {'class': 'ac t_seeders'}).string) |
|
|
|
torrent_leechers = tryInt(result.find('td', attrs = {'class': 'ac t_leechers'}).string) |
|
|
|
torrent_seeders = tryInt(result.find_all('td')[7].string) |
|
|
|
torrent_leechers = tryInt(result.find_all('td')[8].string) |
|
|
|
|
|
|
|
results.append({ |
|
|
|
'id': torrent_id, |
|
|
|