Private GIT

Skip to content
Snippets Groups Projects
Commit 424ca95c authored by miigotu's avatar miigotu
Browse files

Undefined method?

parent 28a301dc
Branches
Tags
No related merge requests found
......@@ -69,11 +69,7 @@ class HDBitsProvider(TorrentProvider):
return episode_search_string
def _get_title_and_url(self, item):
title = item['name']
if title:
title = self._clean_title(title)
title = item.get('name', '').replace(' ', '.')
url = self.urls['download'] + urllib.urlencode({'id': item['id'], 'passkey': self.passkey})
return title, url
......
......@@ -71,9 +71,7 @@ class TorrentRssProvider(TorrentProvider):
def _get_title_and_url(self, item):
title = item.get(self.titleTAG)
if title:
title = self._clean_title(title)
title = item.get(self.titleTAG, '').replace(' ', '.')
attempt_list = [lambda: item.get('torrent_magneturi'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment