Use the first title if multiples titles are present

This commit is contained in:
Zoe Roux 2024-04-28 01:57:05 +02:00
parent 4ffc112196
commit b30c83751d
No known key found for this signature in database

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}")