1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-05 17:05:03 -05:00

Removed some comment

This commit is contained in:
Giovanni 2015-02-17 16:08:09 +01:00
parent d87d35237d
commit 94853c0f27

View File

@ -140,15 +140,6 @@ class TNTVillageProvider(generic.TorrentProvider):
def _doLogin(self):
# if any(requests.utils.dict_from_cookiejar(self.session.cookies).values()):
# return True
#
# if self._uid and self._hash:
#
# requests.utils.add_dict_to_cookiejar(self.session.cookies, self.cookies)
#
# else:
#
login_params = {'UserName': self.username,
'PassWord': self.password,
'CookieDate': 1,
@ -167,13 +158,6 @@ class TNTVillageProvider(generic.TorrentProvider):
logger.log(u'Invalid username or password for ' + self.name + ' Check your settings', logger.ERROR)
return False
# self._uid = requests.utils.dict_from_cookiejar(self.session.cookies)['member_id']
# self._hash = requests.utils.dict_from_cookiejar(self.session.cookies)['pass_hash']
#
# self.cookies = {'uid': self._uid,
# 'pass': self._hash
# }
return True
def _get_season_search_strings(self, ep_obj):
@ -410,8 +394,6 @@ class TNTVillageProvider(generic.TorrentProvider):
for text in self.hdtext:
title = title.replace(text,filename_qt)
#title = title.replace(" Versione 720p",filename_qt).replace(" V 720p",filename_qt).replace(" V HEVC",filename_qt).replace(" Versione 1080p",filename_qt).replace(" 720p HEVC",filename_qt).replace(" Ver 720",filename_qt)
if Quality.nameQuality(title) == Quality.UNKNOWN:
title += filename_qt