Skip to content

Commit

Permalink
fix ttn
Browse files Browse the repository at this point in the history
  • Loading branch information
duramato committed Apr 16, 2016
1 parent 9edb74e commit 5aca1c7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sickbeard/providers/transmitthenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,6 @@ def search(self, search_strings, age=0, ep_obj=None): # pylint: disable=too-man

temp_anchor = torrent_row.find('a', {"data-src": True})
title = temp_anchor['data-src'].rsplit('.', 1)[0]

temp_anchor = torrent_row.find('span', class_='time').parent.find_next_sibling()
if not all([title, download_url]):
continue

Expand All @@ -165,7 +163,7 @@ def search(self, search_strings, age=0, ep_obj=None): # pylint: disable=too-man
(title, seeders, leechers), logger.DEBUG)
continue

torrent_size = temp_anchor['data-filesize'] or -1
size = temp_anchor['data-filesize'] or -1

item = {'title': title, 'link': download_url, 'size': size, 'seeders': seeders, 'leechers': leechers, 'hash': None}
if mode != 'RSS':
Expand Down

0 comments on commit 5aca1c7

Please sign in to comment.