1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-04 15:12:23 -05:00

FreshonTV now supports HTTPS

Change HTTP to HTTPS as FreshonTV now supports secure connections
This commit is contained in:
flightlevel 2015-01-26 20:56:18 +11:00
parent 91cb8d885c
commit d7a60e2930

View File

@ -58,11 +58,11 @@ class FreshOnTVProvider(generic.TorrentProvider):
self.cache = FreshOnTVCache(self)
self.urls = {'base_url': 'http://freshon.tv/',
'login': 'http://freshon.tv/login.php?action=makelogin',
'detail': 'http://freshon.tv/details.php?id=%s',
'search': 'http://freshon.tv/browse.php?incldead=%s&words=0&cat=0&search=%s',
'download': 'http://freshon.tv/download.php?id=%s&type=torrent',
self.urls = {'base_url': 'https://freshon.tv/',
'login': 'https://freshon.tv/login.php?action=makelogin',
'detail': 'https://freshon.tv/details.php?id=%s',
'search': 'https://freshon.tv/browse.php?incldead=%s&words=0&cat=0&search=%s',
'download': 'https://freshon.tv/download.php?id=%s&type=torrent',
}
self.url = self.urls['base_url']
@ -317,4 +317,4 @@ class FreshOnTVCache(tvcache.TVCache):
search_params = {'RSS': ['']}
return {'entries': self.provider._doSearch(search_params)}
provider = FreshOnTVProvider()
provider = FreshOnTVProvider()