Fix category parse error on search

This commit is contained in:
syeopite 2021-05-08 03:43:26 -07:00
parent c91ff8506a
commit cc02fed4e6
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82

View file

@ -263,8 +263,8 @@ private class CategoryParser < ItemParser
# Content could be in three locations.
if content_container = item_contents["content"]["horizontalListRenderer"]?
elsif content_container = item_contents["content"]["expandedShelfContentsRenderer"]
elsif content_container = item_contents["content"]["verticalListRenderer"]
elsif content_container = item_contents["content"]["expandedShelfContentsRenderer"]?
elsif content_container = item_contents["content"]["verticalListRenderer"]?
else
content_container = item_contents["contents"]
end