From ee8a558ffacf388fb1af343229262b4dddaa0f9a Mon Sep 17 00:00:00 2001 From: Diego Heras Date: Mon, 9 Nov 2020 12:38:36 +0100 Subject: [PATCH] scenefz: fix poster parsing. resolves #10151 (#10153) --- src/Jackett.Common/Indexers/Abstract/XtremeZoneTracker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett.Common/Indexers/Abstract/XtremeZoneTracker.cs b/src/Jackett.Common/Indexers/Abstract/XtremeZoneTracker.cs index 258f78499..ab54432c4 100644 --- a/src/Jackett.Common/Indexers/Abstract/XtremeZoneTracker.cs +++ b/src/Jackett.Common/Indexers/Abstract/XtremeZoneTracker.cs @@ -131,7 +131,7 @@ namespace Jackett.Common.Indexers.Abstract var description = row.Value("short_description"); var posterStr = row.Value("poster"); - var poster = string.IsNullOrEmpty(posterStr) || !posterStr.StartsWith("http") ? null : new Uri(posterStr); + var poster = Uri.TryCreate(posterStr, UriKind.Absolute, out var posterUri) ? posterUri : null; var dlVolumeFactor = row.Value("is_half_download") ? 0.5: 1.0; dlVolumeFactor = row.Value("is_freeleech") ? 0.0 : dlVolumeFactor;