fix(all/yomiroll): Switch to vrv links (#3050)
This commit is contained in:
parent
3219273e30
commit
e860556080
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'Yomiroll'
|
||||
extClass = '.Yomiroll'
|
||||
extVersionCode = 30
|
||||
extVersionCode = 31
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
@ -152,7 +152,8 @@ data class VideoStreams(
|
||||
) {
|
||||
@Serializable
|
||||
data class Stream(
|
||||
val adaptive_hls: JsonObject,
|
||||
@SerialName("vo_adaptive_hls")
|
||||
val adaptiveHls: JsonObject,
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -302,7 +302,7 @@ class Yomiroll : ConfigurableAnimeSource, AnimeHttpSource() {
|
||||
audLang: String,
|
||||
subsList: List<Track>,
|
||||
): List<Video> {
|
||||
return streams.streams?.adaptive_hls?.entries?.parallelMapNotNullBlocking { (_, value) ->
|
||||
return streams.streams?.adaptiveHls?.entries?.parallelMapNotNullBlocking { (_, value) ->
|
||||
val stream = json.decodeFromString<HlsLinks>(value.jsonObject.toString())
|
||||
runCatching {
|
||||
val playlist = client.newCall(GET(stream.url)).execute()
|
||||
|
Loading…
x
Reference in New Issue
Block a user