Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/a2b0f199f15d12018047190d689349f15187b5e7
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
10 additions and
2 deletions
@ -45,7 +45,7 @@ namespace NzbDrone.Core.Indexers.Definitions
public override IParseIndexerResponse GetParser ( )
{
return new BeyondHDParser ( Capabilities. Categories ) ;
return new BeyondHDParser ( Settings, Capabilities. Categories ) ;
}
protected override IList < ReleaseInfo > CleanupReleases ( IEnumerable < ReleaseInfo > releases , SearchCriteriaBase searchCriteria )
@ -227,10 +227,12 @@ namespace NzbDrone.Core.Indexers.Definitions
public class BeyondHDParser : IParseIndexerResponse
{
private readonly BeyondHDSettings _settings ;
private readonly IndexerCapabilitiesCategories _categories ;
public BeyondHDParser ( IndexerCapabilitiesCategories categories )
public BeyondHDParser ( BeyondHDSettings settings , IndexerCapabilitiesCategories categories )
{
_settings = settings ;
_categories = categories ;
}
@ -264,6 +266,12 @@ namespace NzbDrone.Core.Indexers.Definitions
foreach ( var row in jsonResponse . Results )
{
// Skip invalid results when freeleech or limited filtering is set
if ( ( _settings . FreeleechOnly & & ! row . Freeleech ) | | ( _settings . LimitedOnly & & ! row . Limited ) )
{
continue ;
}
var details = row . InfoUrl ;
var link = row . DownloadLink ;