From 99659ab17c09b7cc251a876a48d621e2eaad85e1 Mon Sep 17 00:00:00 2001 From: JavScraper Date: Wed, 2 Jun 2021 23:17:34 +0800 Subject: [PATCH] fix --- Emby.Plugins.JavScraper/JavPersonProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Emby.Plugins.JavScraper/JavPersonProvider.cs b/Emby.Plugins.JavScraper/JavPersonProvider.cs index 3a210ad..4d39ed7 100644 --- a/Emby.Plugins.JavScraper/JavPersonProvider.cs +++ b/Emby.Plugins.JavScraper/JavPersonProvider.cs @@ -82,7 +82,7 @@ public async Task> GetMetadata(PersonLookupInfo info, Can _logger?.Info($"{nameof(GetMetadata)} info:{_jsonSerializer.SerializeToString(info)}"); - if ((index = info.GetJavPersonIndex(_jsonSerializer)) == null || !index.Url.IsWebUrl()) + if ((index = info.GetJavPersonIndex(_jsonSerializer)) == null || index.Url?.Contains("xslist.org", StringComparison.OrdinalIgnoreCase) != true || !index.Url.IsWebUrl()) { var res = await GetSearchResults(info, cancellationToken).ConfigureAwait(false); if (res.Count() == 0 || (index = res.FirstOrDefault().GetJavPersonIndex(_jsonSerializer)) == null)