Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/bbfe8c27c6caa5851a80450644c3942c61dd72e0
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
6 additions and
9 deletions
@ -19,15 +19,12 @@ namespace NzbDrone.Core.Indexers
protected override bool PreProcess ( IndexerResponse indexerResponse )
{
using ( var xmlTextReader = XmlReader . Create ( new StringReader ( indexerResponse . Content ) , new XmlReaderSettings { DtdProcessing = DtdProcessing . Ignore , IgnoreComments = true } ) )
{
var document = XDocument . Load ( xmlTextReader ) ;
var items = GetItems ( document ) . ToList ( ) ;
var document = LoadXmlDocument ( indexerResponse ) ;
var items = GetItems ( document ) . ToList ( ) ;
if ( items . Count = = 1 & & GetTitle ( items . First ( ) ) . Equals ( "No items exist - Try again later" ) )
{
throw new IndexerException ( indexerResponse , "No results were found" ) ;
}
if ( items . Count = = 1 & & GetTitle ( items . First ( ) ) . Equals ( "No items exist - Try again later" ) )
{
throw new IndexerException ( indexerResponse , "No results were found" ) ;
}
return base . PreProcess ( indexerResponse ) ;
@ -17,7 +17,7 @@ namespace NzbDrone.Core.Indexers.Omgwtfnzbs
protected override bool PreProcess ( IndexerResponse indexerResponse )
{
var xdoc = XDocument.Parse (indexerResponse . Content ) ;
var xdoc = Load Xml Document (indexerResponse ) ;
var notice = xdoc . Descendants ( "notice" ) . FirstOrDefault ( ) ;
if ( notice = = null ) return true ;