mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Add fix for videos that don't have videoDetails
This commit is contained in:
parent
92223dbee5
commit
58fb74179b
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ class Video
|
|||
end
|
||||
|
||||
def keywords
|
||||
keywords = self.player_response["videoDetails"]["keywords"]?.try &.as_a
|
||||
keywords = self.player_response["videoDetails"]?.try &.["keywords"]?.try &.as_a
|
||||
keywords ||= [] of String
|
||||
|
||||
return keywords
|
||||
|
|
Loading…
Reference in a new issue