mirror of
https://gitea.invidious.io/iv-org/invidious
synced 2025-06-05 23:29:12 +02:00
Add fix for videos without keywords
This commit is contained in:
@ -263,7 +263,10 @@ class Video
|
|||||||
end
|
end
|
||||||
|
|
||||||
def keywords
|
def keywords
|
||||||
return self.player_response["videoDetails"]["keywords"].as_a
|
keywords = self.player_response["videoDetails"]["keywords"]?.try &.as_a
|
||||||
|
keywords ||= [] of String
|
||||||
|
|
||||||
|
return keywords
|
||||||
end
|
end
|
||||||
|
|
||||||
def fmt_stream(decrypt_function)
|
def fmt_stream(decrypt_function)
|
||||||
|
Reference in New Issue
Block a user