mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 22:07:32 -04:00
Fixed: (Rarbg) Blank baseUrl drop-down (#443)
* Fixed: (Rarbg) Blank baseUrl drop-down * fixup! Using missing
This commit is contained in:
parent
1ef43c40c0
commit
682afc2c75
1 changed files with 10 additions and 0 deletions
|
@ -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 { };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue