mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-30 16:33:37 +00:00
Change TVRage search to full search
This commit is contained in:
parent
85bde1b6b6
commit
4292037941
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
# !/usr/bin/env python2
|
||||
# !/usr/bin/env python2
|
||||
# encoding:utf-8
|
||||
#author:dbr/Ben (ripped from tvdb:echel0n)
|
||||
#project:tvrage_api
|
||||
|
@ -363,7 +363,7 @@ class TVRage:
|
|||
|
||||
self.config['base_url'] = "http://services.tvrage.com"
|
||||
|
||||
self.config['url_getSeries'] = u"%(base_url)s/feeds/search.php" % self.config
|
||||
self.config['url_getSeries'] = u"%(base_url)s/feeds/full_search.php" % self.config
|
||||
self.config['params_getSeries'] = {"show": ""}
|
||||
|
||||
self.config['url_epInfo'] = u"%(base_url)s/myfeeds/episode_list.php" % self.config
|
||||
|
@ -605,7 +605,7 @@ class TVRage:
|
|||
|
||||
self.config['params_epInfo']['sid'] = sid
|
||||
epsEt = self._getetsrc(self.config['url_epInfo'], self.config['params_epInfo'])
|
||||
if 'episodelist' not in epsEt and 'season' not in epsEt['episodelist']:
|
||||
if 'episodelist' not in epsEt or 'season' not in epsEt['episodelist']:
|
||||
return False
|
||||
|
||||
seasons = epsEt['episodelist']['season']
|
||||
|
|
Loading…
Reference in a new issue