Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/174689f533a4a3d0d01853c091cefce8b446f358
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
3 additions and
7 deletions
@ -17,12 +17,12 @@ namespace NzbDrone.Core.Indexers.Newznab
var attributes = item . Elements ( "attr" ) . ToList ( ) ;
var sizeElement = attributes . SingleOrDefault ( e = > e . Attribute ( "name" ) . Value . Equals ( "size" , StringComparison . CurrentCultureIgnoreCase ) ) ;
if ( sizeElement = = null )
if ( sizeElement ! = null )
{
return Convert . ToInt64 ( sizeElement . Attribute ( "value" ) . Value ) ;
}
return Convert. ToInt64 ( sizeElement . Attribute ( "value" ) . Value ) ;
return ParseSize( item . Description ( ) ) ;
}
protected override ReleaseInfo PostProcessor ( XElement item , ReleaseInfo currentResult )
@ -108,8 +108,6 @@ namespace NzbDrone.Core.Indexers
return currentResult ;
}
public static string ParseReleaseGroup ( string title )
{
title = title . Trim ( ) ;
@ -132,8 +130,6 @@ namespace NzbDrone.Core.Indexers
private static readonly Regex ReportSizeRegex = new Regex ( @"(?<value>\d+\.\d{1,2}|\d+\,\d+\.\d{1,2}|\d+)\W?(?<unit>GB|MB|GiB|MiB)" ,
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ;
public static long ParseSize ( string sizeString )
{
var match = ReportSizeRegex . Matches ( sizeString ) ;