Add continuation in PlaylistOrAlbum
This commit is contained in:
parent
a3332d8f06
commit
0ab184cd85
1 changed files with 15 additions and 2 deletions
|
@ -694,7 +694,8 @@ object YouTube {
|
||||||
val year: String?,
|
val year: String?,
|
||||||
val thumbnail: ThumbnailRenderer.MusicThumbnailRenderer.Thumbnail.Thumbnail?,
|
val thumbnail: ThumbnailRenderer.MusicThumbnailRenderer.Thumbnail.Thumbnail?,
|
||||||
val items: List<Item>?,
|
val items: List<Item>?,
|
||||||
val url: String?
|
val url: String?,
|
||||||
|
val continuation: String?,
|
||||||
) {
|
) {
|
||||||
open class Item(
|
open class Item(
|
||||||
val info: Info<NavigationEndpoint.Endpoint.Watch>,
|
val info: Info<NavigationEndpoint.Endpoint.Watch>,
|
||||||
|
@ -795,7 +796,19 @@ object YouTube {
|
||||||
url = body
|
url = body
|
||||||
.microformat
|
.microformat
|
||||||
?.microformatDataRenderer
|
?.microformatDataRenderer
|
||||||
?.urlCanonical
|
?.urlCanonical,
|
||||||
|
continuation = body
|
||||||
|
.contents
|
||||||
|
.singleColumnBrowseResultsRenderer
|
||||||
|
?.tabs
|
||||||
|
?.firstOrNull()
|
||||||
|
?.tabRenderer
|
||||||
|
?.content
|
||||||
|
?.sectionListRenderer
|
||||||
|
?.continuations
|
||||||
|
?.firstOrNull()
|
||||||
|
?.nextRadioContinuationData
|
||||||
|
?.continuation
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue