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

Merge pull request #1245 from flightlevel/patch-1

FreshonTV now supports HTTPS
This commit is contained in:
echel0n 2015-01-29 14:46:18 -08:00
commit b3fbad33d8

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()