Skip to content

Commit 99659ab

Browse files
committed
fix
1 parent 0efcc66 commit 99659ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Emby.Plugins.JavScraper/JavPersonProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public async Task<MetadataResult<Person>> GetMetadata(PersonLookupInfo info, Can
8282

8383
_logger?.Info($"{nameof(GetMetadata)} info:{_jsonSerializer.SerializeToString(info)}");
8484

85-
if ((index = info.GetJavPersonIndex(_jsonSerializer)) == null || !index.Url.IsWebUrl())
85+
if ((index = info.GetJavPersonIndex(_jsonSerializer)) == null || index.Url?.Contains("xslist.org", StringComparison.OrdinalIgnoreCase) != true || !index.Url.IsWebUrl())
8686
{
8787
var res = await GetSearchResults(info, cancellationToken).ConfigureAwait(false);
8888
if (res.Count() == 0 || (index = res.FirstOrDefault().GetJavPersonIndex(_jsonSerializer)) == null)

0 commit comments

Comments
 (0)