diff options
| author | meatball <meatballsofmeatballs@gmail.com> | 2024-05-30 21:57:15 +0200 |
|---|---|---|
| committer | meatball <meatballsofmeatballs@gmail.com> | 2024-05-30 21:57:15 +0200 |
| commit | 629599f9403a4b5b5ceda58f2d17ad81745f6981 (patch) | |
| tree | 61c6d36d52f90494c5b19989fa4ca2b8541e1ea8 /src | |
| parent | 31ad708206dc108714e36f617c6bce5f85c80b8b (diff) | |
| download | invidious-629599f9403a4b5b5ceda58f2d17ad81745f6981.tar.gz invidious-629599f9403a4b5b5ceda58f2d17ad81745f6981.tar.bz2 invidious-629599f9403a4b5b5ceda58f2d17ad81745f6981.zip | |
Fix change in parser file
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/videos/parser.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.cr index bc3c844d..85f17525 100644 --- a/src/invidious/videos/parser.cr +++ b/src/invidious/videos/parser.cr @@ -327,7 +327,7 @@ def parse_video_info(video_id : String, player_response : Hash(String, JSON::Any if metadata_title == "Category" contents = contents.try &.dig?("runs", 0) - + genre = contents.try &.["text"]? genre_ucid = contents.try &.dig?("navigationEndpoint", "browseEndpoint", "browseId") elsif metadata_title == "License" |
