scenefz: fix poster parsing. resolves #10151 (#10153)

This commit is contained in:
Diego Heras 2020-11-09 12:38:36 +01:00 committed by GitHub
parent 6329a46b66
commit ee8a558ffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ namespace Jackett.Common.Indexers.Abstract
var description = row.Value<string>("short_description");
var posterStr = row.Value<string>("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<bool>("is_half_download") ? 0.5: 1.0;
dlVolumeFactor = row.Value<bool>("is_freeleech") ? 0.0 : dlVolumeFactor;