Add continuation in PlaylistOrAlbum
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user