fix(TUBI): Fix language attribute
This commit is contained in:
parent
c4c5337080
commit
60a2036f4a
@ -141,7 +141,7 @@ class TUBI(Service):
|
||||
number=int(episode["episode_number"]),
|
||||
name=episode["title"].split("-")[1],
|
||||
year=data["year"],
|
||||
language=Language.find(episode.get("lang", "en")).to_alpha3(),
|
||||
language=Language.find(episode.get("lang") or "en").to_alpha3(),
|
||||
data=episode,
|
||||
)
|
||||
for season in data["children"]
|
||||
|
Loading…
Reference in New Issue
Block a user