Browse Source

Yify, don't include quality in search

fix #4190
pull/3962/merge
Ruud 11 years ago
parent
commit
269e785888
  1. 11
      couchpotato/core/media/_base/providers/torrent/yify.py

11
couchpotato/core/media/_base/providers/torrent/yify.py

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

Loading…
Cancel
Save