Parse gridShelfViewModel

This commit is contained in:
Brahim Hadriche committed 2025-05-03 11:37:37 -04:00
1 parent 0d61d1e337
commit 6a80fe6c74
2 files changed
+9

No files matched your search

+4
View File
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
- Nothing worth mentioning yet.
## [0.36.6] - 2025-05-03
### Fixed
@@ -66,6 +66,7 @@ namespace Innertube
"gridChannelRenderer": ParseGridChannelRenderer
"playlistRenderer": ParsePlaylistRenderer
"gridPlaylistRenderer": ParseGridPlaylistRenderer
"gridShelfViewModel": ParseGridShelfViewModel
"lockupViewModel": ParseLockupViewModel
"shortsLockupViewModel": ParseShortsLockupViewModel
"tvBrowseRenderer": ParseTvBrowseRenderer
@@ -674,6 +675,10 @@ namespace Innertube
return invalid
end function
function ParseGridShelfViewModel(nodeData as object, context as object) as object
return nodeData["contents"]
end function
function ParseLockupViewModel(nodeData as object, context as object) as object
contentType = ValidString(nodeData["contentType"])
if contentType = "LOCKUP_CONTENT_TYPE_PLAYLIST"