From 4292037941388ab7d7b7d2b859842e8b59391dc4 Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Tue, 26 May 2015 14:14:23 +0200 Subject: [PATCH] Change TVRage search to full search --- lib/tvrage_api/tvrage_api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/tvrage_api/tvrage_api.py b/lib/tvrage_api/tvrage_api.py index f2c5348f..6700fb1c 100644 --- a/lib/tvrage_api/tvrage_api.py +++ b/lib/tvrage_api/tvrage_api.py @@ -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']