mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Merge pull request #730 from JackDandy/feature/ChangeProvKat
Change ensure KAT URL is available.
This commit is contained in:
commit
bdad07d5a1
2 changed files with 3 additions and 0 deletions
|
@ -107,6 +107,7 @@
|
|||
|
||||
[develop changelog]
|
||||
* Change send nzb data to NZBGet for Anizb instead of url
|
||||
* Change ensure KAT URL is available
|
||||
|
||||
|
||||
### 0.11.12 (2016-06-20 02:20:00 UTC)
|
||||
|
|
|
@ -134,6 +134,8 @@ class KATProvider(generic.TorrentProvider):
|
|||
def _search_provider(self, search_params, search_mode='eponly', epcount=0, **kwargs):
|
||||
|
||||
results = []
|
||||
if None is self.url:
|
||||
return results
|
||||
items = {'Cache': [], 'Season': [], 'Episode': [], 'Propers': []}
|
||||
|
||||
rc = dict((k, re.compile('(?i)' + v)) for (k, v) in {'link': 'normal', 'get': '^magnet', 'verif': 'verif'}.items())
|
||||
|
|
Loading…
Reference in a new issue