Use the first title if multiples titles are present

This commit is contained in:
2024-04-28 01:57:05 +02:00
parent 4ffc112196
commit b30c83751d
+1 -1
View File
@@ -59,7 +59,7 @@ class Matcher:
title = raw.get("title")
if isinstance(title, list):
pass
title = title[0]
if not isinstance(title, str):
raise ProviderError(f"Could not guess title, found: {title}")