diff --git a/mylar/search.py b/mylar/search.py index 52cb6bcf..30419c4f 100755 --- a/mylar/search.py +++ b/mylar/search.py @@ -452,7 +452,10 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, Publisher, IssueDa else: cmname = re.sub("%20", " ", str(comsrc)) logger.fdebug("Sending request to RSS for " + str(findcomic) + " : " + str(mod_isssearch) + " (" + str(ComicYear) + ")") - bb = rsscheck.nzbdbsearch(findcomic,mod_isssearch,ComicID,nzbprov,ComicYear,ComicVersion) + if nzbprov == 'newznab': + nzbprov_fix = name_newznab + else: nzbprov_fix = nzbprov + bb = rsscheck.nzbdbsearch(findcomic,mod_isssearch,ComicID,nzbprov_fix,ComicYear,ComicVersion) rss = "yes" #if bb is not None: logger.fdebug("bb results: " + str(bb)) #this is the API calls