|
|
|
@ -114,11 +114,11 @@ namespace NzbDrone.Core.Providers.Indexer
|
|
|
|
|
foreach (var newznabDefinition in newznabIndexers)
|
|
|
|
|
{
|
|
|
|
|
if (!String.IsNullOrWhiteSpace(newznabDefinition.ApiKey))
|
|
|
|
|
urls.Add(String.Format("{0}/api?t=tvsearch&cat=5030,5040&apikey={1}", newznabDefinition.Url,
|
|
|
|
|
urls.Add(String.Format("{0}/api?t=tvsearch&cat=5030,5040,5070,5090&apikey={1}", newznabDefinition.Url,
|
|
|
|
|
newznabDefinition.ApiKey));
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
urls.Add(String.Format("{0}/api?t=tvsearch&cat=5030,5040", newznabDefinition.Url));
|
|
|
|
|
urls.Add(String.Format("{0}/api?t=tvsearch&cat=5030,5040,5070,5090s", newznabDefinition.Url));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return urls.ToArray();
|
|
|
|
|