refactoring
This commit is contained in:
@ -94,9 +94,7 @@ class GogoAnime : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
.attr("data-video")
|
.attr("data-video")
|
||||||
val gogoVideos = GogoCdnExtractor(client, json).videosFromUrl(serverUrl)
|
val gogoVideos = GogoCdnExtractor(client, json).videosFromUrl(serverUrl)
|
||||||
return gogoVideos.ifEmpty {
|
return gogoVideos.ifEmpty {
|
||||||
runCatching {
|
DoodExtractor(client).videosFromUrl(doodUrl)
|
||||||
DoodExtractor(client).videosFromUrl(doodUrl)
|
|
||||||
}.getOrDefault(emptyList())
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user