mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-21 22:25:03 -04:00
Check response status code in classes that extend RssParser
This commit is contained in:
@@ -58,6 +58,11 @@ namespace NzbDrone.Core.Indexers.Newznab
|
||||
|
||||
protected override bool PreProcess(IndexerResponse indexerResponse)
|
||||
{
|
||||
if (indexerResponse.HttpResponse.HasHttpError)
|
||||
{
|
||||
base.PreProcess(indexerResponse);
|
||||
}
|
||||
|
||||
var xdoc = LoadXmlDocument(indexerResponse);
|
||||
|
||||
CheckError(xdoc, indexerResponse);
|
||||
|
||||
Reference in New Issue
Block a user