mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-22 13:37:24 +00:00
Fix category parse error on search
This commit is contained in:
parent
c91ff8506a
commit
cc02fed4e6
@ -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 New Issue
Block a user