mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Fix category parse error on search
This commit is contained in:
parent
c91ff8506a
commit
cc02fed4e6
1 changed files with 2 additions and 2 deletions
|
@ -263,8 +263,8 @@ private class CategoryParser < ItemParser
|
||||||
|
|
||||||
# Content could be in three locations.
|
# Content could be in three locations.
|
||||||
if content_container = item_contents["content"]["horizontalListRenderer"]?
|
if content_container = item_contents["content"]["horizontalListRenderer"]?
|
||||||
elsif content_container = item_contents["content"]["expandedShelfContentsRenderer"]
|
elsif content_container = item_contents["content"]["expandedShelfContentsRenderer"]?
|
||||||
elsif content_container = item_contents["content"]["verticalListRenderer"]
|
elsif content_container = item_contents["content"]["verticalListRenderer"]?
|
||||||
else
|
else
|
||||||
content_container = item_contents["contents"]
|
content_container = item_contents["contents"]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue