mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-22 16:19:53 +05:30
Fix change in parser file
This commit is contained in:
parent
31ad708206
commit
629599f940
@ -327,7 +327,7 @@ def parse_video_info(video_id : String, player_response : Hash(String, JSON::Any
|
|||||||
|
|
||||||
if metadata_title == "Category"
|
if metadata_title == "Category"
|
||||||
contents = contents.try &.dig?("runs", 0)
|
contents = contents.try &.dig?("runs", 0)
|
||||||
|
|
||||||
genre = contents.try &.["text"]?
|
genre = contents.try &.["text"]?
|
||||||
genre_ucid = contents.try &.dig?("navigationEndpoint", "browseEndpoint", "browseId")
|
genre_ucid = contents.try &.dig?("navigationEndpoint", "browseEndpoint", "browseId")
|
||||||
elsif metadata_title == "License"
|
elsif metadata_title == "License"
|
||||||
|
Loading…
Reference in New Issue
Block a user