mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: (Rarbg) Blank baseUrl drop-down (#443)
* Fixed: (Rarbg) Blank baseUrl drop-down * fixup! Using missing
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using NLog;
|
||||
using NzbDrone.Common.Extensions;
|
||||
using NzbDrone.Common.Http;
|
||||
@@ -167,6 +168,15 @@ namespace NzbDrone.Core.Indexers.Rarbg
|
||||
captchaToken = cfClearanceCookie
|
||||
};
|
||||
}
|
||||
else if (action == "getUrls")
|
||||
{
|
||||
var links = IndexerUrls;
|
||||
|
||||
return new
|
||||
{
|
||||
options = links.Select(d => new { Value = d, Name = d })
|
||||
};
|
||||
}
|
||||
|
||||
return new { };
|
||||
}
|
||||
|
Reference in New Issue
Block a user