mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Use the first title if multiples titles are present
This commit is contained in:
parent
4ffc112196
commit
b30c83751d
@ -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}")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user