WIP channels fix

This commit is contained in:
saltycrys
2021-03-03 22:21:29 +01:00
parent abe283b38e
commit 378c0d049e
2 changed files with 36 additions and 14 deletions

View File

@ -383,10 +383,9 @@ def extract_items(initial_data : Hash(String, JSON::Any), author_fallback : Stri
items = [] of SearchItem
channel_v2_response = initial_data
.try &.["response"]?
.try &.["continuationContents"]?
.try &.["gridContinuation"]?
.try &.["items"]?
.try &.["continuationContents"]?
.try &.["gridContinuation"]?
.try &.["items"]?
if channel_v2_response
channel_v2_response.try &.as_a.each { |item|