Set description_node to nil for auto-generated channels

This commit is contained in:
hibutwhy 2026-08-23 22:17:07 -07:00
parent f755969050
commit 3e4cd122ef

View File

@ -75,7 +75,7 @@ def get_about_info(ucid) : AboutChannel
author_url = "https://www.youtube.com/channel/#{ucid}" author_url = "https://www.youtube.com/channel/#{ucid}"
author_thumbnail = phr_vm.try &.dig?("animatedImage", "contentPreviewImageViewModel", "image", "sources", 0, "url").try &.as_s || "" author_thumbnail = phr_vm.try &.dig?("animatedImage", "contentPreviewImageViewModel", "image", "sources", 0, "url").try &.as_s || ""
banner = nil banner = nil
description_node = JSON.parse(%({"simpleText": ""})) description_node = nil
tags = [] of String tags = [] of String
else else
author = ithr["title"]["simpleText"].as_s author = ithr["title"]["simpleText"].as_s