1 parent
3669aef42d
commit
269e785888
1 file changed
+5
-6
@@ -12,17 +12,16 @@ class Base(TorrentMagnetProvider):
|
|||||||
|
|
||||||
urls = {
|
urls = {
|
||||||
'test': '%s/api',
|
'test': '%s/api',
|
||||||
'search': '%s/api/list.json?keywords=%s&quality=%s',
|
'search': '%s/api/list.json?keywords=%s',
|
||||||
'detail': '%s/api/movie.json?id=%s'
|
'detail': '%s/api/movie.json?id=%s'
|
||||||
}
|
}
|
||||||
|
|
||||||
http_time_between_calls = 1 # seconds
|
http_time_between_calls = 1 # seconds
|
||||||
|
|
||||||
proxy_list = [
|
proxy_list = [
|
||||||
'http://yify.unlocktorrent.com',
|
'https://yts.re',
|
||||||
'http://yify-torrents.com.come.in',
|
'http://ytsproxy.come.in',
|
||||||
'http://yts.re',
|
'http://yts.im',
|
||||||
'http://yts.im'
|
|
||||||
'http://yify-torrents.im',
|
'http://yify-torrents.im',
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -39,7 +38,7 @@ class Base(TorrentMagnetProvider):
|
|||||||
if not domain:
|
if not domain:
|
||||||
return
|
return
|
||||||
|
|
||||||
search_url = self.urls['search'] % (domain, getIdentifier(movie), quality['identifier'])
|
search_url = self.urls['search'] % (domain, getIdentifier(movie))
|
||||||
|
|
||||||
data = self.getJsonData(search_url)
|
data = self.getJsonData(search_url)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user