mirror of
https://github.com/correl/Transmission-XBMC.git
synced 2024-11-24 19:19:56 +00:00
URI Path update for KAT, YTS & EZTV
I noticed that the URI paths for KAT, YTS & EZTV were a little out of date, so i've updated them - the others still seem to be fine.
This commit is contained in:
parent
10f319deb0
commit
ca3350bc46
1 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@ class TPB(Search):
|
||||||
return torrents
|
return torrents
|
||||||
class Kickass(Search):
|
class Kickass(Search):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.search_uri = 'http://kickass.to/usearch/%s/?field=seeders&sorder=desc&rss=1'
|
self.search_uri = 'https://kat.cr/usearch/%s/?field=seeders&sorder=desc&rss=1'
|
||||||
def search(self, terms):
|
def search(self, terms):
|
||||||
torrents = []
|
torrents = []
|
||||||
url = self.search_uri % quote_plus(terms)
|
url = self.search_uri % quote_plus(terms)
|
||||||
|
@ -112,7 +112,7 @@ class L337x(Search):
|
||||||
return torrents
|
return torrents
|
||||||
class YTS(Search):
|
class YTS(Search):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.search_uri = 'http://yts.to/rss/%s/all/all/0'
|
self.search_uri = 'https://yts.ag/rss/%s/all/all/0'
|
||||||
def search(self, terms):
|
def search(self, terms):
|
||||||
torrents = []
|
torrents = []
|
||||||
url = self.search_uri % quote(terms, '')
|
url = self.search_uri % quote(terms, '')
|
||||||
|
@ -155,7 +155,7 @@ class Lime(Search):
|
||||||
class EZTV(Search):
|
class EZTV(Search):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.user_agent = 'Mozilla/5.0'
|
self.user_agent = 'Mozilla/5.0'
|
||||||
self.uri_prefix = 'https://eztv.ch'
|
self.uri_prefix = 'https://eztv.ag'
|
||||||
self.search_uri = self.uri_prefix + '/search/'
|
self.search_uri = self.uri_prefix + '/search/'
|
||||||
def search(self, terms):
|
def search(self, terms):
|
||||||
torrents = []
|
torrents = []
|
||||||
|
|
Loading…
Reference in a new issue