Ignore tile

This commit is contained in:
Brahim Hadriche committed 2025-09-06 20:57:06 -04:00
1 parent 5f5b0bb8fd
commit f505d01785
1 file changed
+9 -1
@@ -1253,12 +1253,20 @@ namespace Innertube
' A tileRenderer can be without a contentType, such as a
' button that says "Open YouTube Kids" or similar CTAs
if contentType = ""
eventTrigger = ValidString(ObjectUtils.Dig(nodeData, ["onSelectCommand", "authDeterminedCommand", "authenticatedCommand", "authRequiredCommand", "identityActionContext", "eventTrigger"]))
' "Open YouTube Kids" tileRenderer
eventTrigger = ValidString(ObjectUtils.Dig(nodeData, ["onSelectCommand", "authDeterminedCommand", "authenticatedCommand", "authRequiredCommand", "identityActionContext", "eventTrigger"]))
if eventTrigger = "ACCOUNT_EVENT_TRIGGER_YTK_WORMHOLE"
LogWarnNoTelemetry("Skipping tileRenderer without contentType for YouTube Kids")
return invalid
end if
' "More news" tileRenderer
browseId = ValidString(ObjectUtils.Dig(nodeData, ["onSelectCommand", "browseEndpoint", "browseId"]))
if browseId = "FEtopics_news"
LogWarnNoTelemetry("Skipping tileRenderer without contentType for FEtopics_news")
return invalid
end if
Warning("TileRenderer without contentType", nodeData, context)
return invalid
end if