Ignore "Open YouTube Kids" tile
This commit is contained in:
1 parent
62d66eb1f3
commit
e1c8b5284f
2 files changed
+10
No files matched your search
@@ -1251,6 +1251,12 @@ 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
|
||||
if eventTrigger = "ACCOUNT_EVENT_TRIGGER_YTK_WORMHOLE"
|
||||
LogWarnNoTelemetry("Skipping tileRenderer without contentType for YouTube Kids")
|
||||
return invalid
|
||||
end if
|
||||
Warning("TileRenderer without contentType", nodeData, context)
|
||||
return invalid
|
||||
end if
|
||||
|
||||
Reference in new issue
Block a user