fix: Set initialized = true in URL intent handlers (#3303)
This commit is contained in:
parent
383996dcef
commit
c7069783ca
@ -2,4 +2,4 @@ plugins {
|
|||||||
id("lib-multisrc")
|
id("lib-multisrc")
|
||||||
}
|
}
|
||||||
|
|
||||||
baseVersionCode = 2
|
baseVersionCode = 3
|
||||||
|
@ -117,7 +117,11 @@ abstract class AnimeStream(
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected open fun searchAnimeByPathParse(response: Response): AnimesPage {
|
protected open fun searchAnimeByPathParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,4 +2,4 @@ plugins {
|
|||||||
id("lib-multisrc")
|
id("lib-multisrc")
|
||||||
}
|
}
|
||||||
|
|
||||||
baseVersionCode = 1
|
baseVersionCode = 2
|
||||||
|
@ -155,7 +155,11 @@ abstract class DooPlay(
|
|||||||
// =============================== Search ===============================
|
// =============================== Search ===============================
|
||||||
|
|
||||||
private fun searchAnimeByPathParse(response: Response): AnimesPage {
|
private fun searchAnimeByPathParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response)
|
val details = animeDetailsParse(response).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Sudatchi'
|
extName = 'Sudatchi'
|
||||||
extClass = '.Sudatchi'
|
extClass = '.Sudatchi'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -105,7 +105,14 @@ class Sudatchi : AnimeHttpSource(), ConfigurableAnimeSource {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response) = AnimesPage(listOf(animeDetailsParse(response)), false)
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
|
val details = animeDetailsParse(response).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
|
return AnimesPage(listOf(details), false)
|
||||||
|
}
|
||||||
|
|
||||||
override fun searchAnimeRequest(page: Int, query: String, filters: AnimeFilterList): Request {
|
override fun searchAnimeRequest(page: Int, query: String, filters: AnimeFilterList): Request {
|
||||||
val url = "$baseUrl/api/directory".toHttpUrl().newBuilder()
|
val url = "$baseUrl/api/directory".toHttpUrl().newBuilder()
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'SupJav'
|
extName = 'SupJav'
|
||||||
extClass = '.SupJavFactory'
|
extClass = '.SupJavFactory'
|
||||||
extVersionCode = 8
|
extVersionCode = 9
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -12,4 +12,4 @@ dependencies {
|
|||||||
implementation(project(":lib:streamwish-extractor"))
|
implementation(project(":lib:streamwish-extractor"))
|
||||||
implementation(project(":lib:voe-extractor"))
|
implementation(project(":lib:voe-extractor"))
|
||||||
implementation(project(":lib:playlist-utils"))
|
implementation(project(":lib:playlist-utils"))
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,11 @@ class SupJav(override val lang: String = "en") : ConfigurableAnimeSource, Parsed
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Torrentio Anime (Torrent / Debrid)'
|
extName = 'Torrentio Anime (Torrent / Debrid)'
|
||||||
extClass = '.Torrentio'
|
extClass = '.Torrentio'
|
||||||
extVersionCode = 6
|
extVersionCode = 7
|
||||||
containsNsfw = false
|
containsNsfw = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -225,7 +225,8 @@ class Torrentio : ConfigurableAnimeSource, AnimeHttpSource() {
|
|||||||
|
|
||||||
override fun popularAnimeParse(response: Response): AnimesPage {
|
override fun popularAnimeParse(response: Response): AnimesPage {
|
||||||
val jsonData = response.body.string()
|
val jsonData = response.body.string()
|
||||||
return parseSearchJson(jsonData) }
|
return parseSearchJson(jsonData)
|
||||||
|
}
|
||||||
|
|
||||||
// =============================== Latest ===============================
|
// =============================== Latest ===============================
|
||||||
override fun latestUpdatesRequest(page: Int): Request {
|
override fun latestUpdatesRequest(page: Int): Request {
|
||||||
@ -258,7 +259,11 @@ class Torrentio : ConfigurableAnimeSource, AnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response)
|
val details = animeDetailsParse(response).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -479,7 +484,9 @@ class Torrentio : ConfigurableAnimeSource, AnimeHttpSource() {
|
|||||||
if (debridProvider == "none") {
|
if (debridProvider == "none") {
|
||||||
val trackerList = animeTrackers.split(",").map { it.trim() }.filter { it.isNotBlank() }.joinToString("&tr=")
|
val trackerList = animeTrackers.split(",").map { it.trim() }.filter { it.isNotBlank() }.joinToString("&tr=")
|
||||||
"magnet:?xt=urn:btih:${stream.infoHash}&dn=${stream.infoHash}&tr=$trackerList&index=${stream.fileIdx}"
|
"magnet:?xt=urn:btih:${stream.infoHash}&dn=${stream.infoHash}&tr=$trackerList&index=${stream.fileIdx}"
|
||||||
} else stream.url ?: ""
|
} else {
|
||||||
|
stream.url ?: ""
|
||||||
|
}
|
||||||
Video(urlOrHash, ((stream.name?.replace("Torrentio\n", "") ?: "") + "\n" + stream.title), urlOrHash)
|
Video(urlOrHash, ((stream.name?.replace("Torrentio\n", "") ?: "") + "\n" + stream.title), urlOrHash)
|
||||||
}.orEmpty()
|
}.orEmpty()
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Okanime'
|
extName = 'Okanime'
|
||||||
extClass = '.Okanime'
|
extClass = '.Okanime'
|
||||||
extVersionCode = 8
|
extVersionCode = 9
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
@ -12,4 +12,4 @@ dependencies {
|
|||||||
implementation(project(":lib:okru-extractor"))
|
implementation(project(":lib:okru-extractor"))
|
||||||
implementation(project(":lib:vidbom-extractor"))
|
implementation(project(":lib:vidbom-extractor"))
|
||||||
implementation(project(":lib:mp4upload-extractor"))
|
implementation(project(":lib:mp4upload-extractor"))
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,11 @@ class Okanime : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Einfach'
|
extName = 'Einfach'
|
||||||
extClass = '.Einfach'
|
extClass = '.Einfach'
|
||||||
extVersionCode = 9
|
extVersionCode = 10
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
@ -15,4 +15,4 @@ dependencies {
|
|||||||
implementation(project(":lib:streamwish-extractor"))
|
implementation(project(":lib:streamwish-extractor"))
|
||||||
implementation(project(":lib:voe-extractor"))
|
implementation(project(":lib:voe-extractor"))
|
||||||
implementation("dev.datlag.jsunpacker:jsunpacker:1.0.1")
|
implementation("dev.datlag.jsunpacker:jsunpacker:1.0.1")
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,11 @@ class Einfach : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByPathParse(response: Response): AnimesPage {
|
private fun searchAnimeByPathParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Hstream'
|
extName = 'Hstream'
|
||||||
extClass = '.Hstream'
|
extClass = '.Hstream'
|
||||||
extVersionCode = 8
|
extVersionCode = 9
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -90,7 +90,10 @@ class Hstream : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'KickAssAnime'
|
extName = 'KickAssAnime'
|
||||||
extClass = '.KickAssAnime'
|
extClass = '.KickAssAnime'
|
||||||
extVersionCode = 42
|
extVersionCode = 43
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
@ -9,4 +9,4 @@ apply from: "$rootDir/common.gradle"
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":lib:cryptoaes"))
|
implementation(project(":lib:cryptoaes"))
|
||||||
implementation(project(":lib:playlist-utils"))
|
implementation(project(":lib:playlist-utils"))
|
||||||
}
|
}
|
||||||
|
@ -249,7 +249,11 @@ class KickAssAnime : ConfigurableAnimeSource, AnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeBySlugParse(response: Response): AnimesPage {
|
private fun searchAnimeBySlugParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response)
|
val details = animeDetailsParse(response).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'My Running Man'
|
extName = 'My Running Man'
|
||||||
extClass = '.MyRunningMan'
|
extClass = '.MyRunningMan'
|
||||||
extVersionCode = 4
|
extVersionCode = 5
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
@ -10,4 +10,4 @@ dependencies {
|
|||||||
implementation(project(":lib:dood-extractor"))
|
implementation(project(":lib:dood-extractor"))
|
||||||
implementation(project(":lib:mixdrop-extractor"))
|
implementation(project(":lib:mixdrop-extractor"))
|
||||||
implementation(project(":lib:streamtape-extractor"))
|
implementation(project(":lib:streamtape-extractor"))
|
||||||
}
|
}
|
||||||
|
@ -73,7 +73,11 @@ class MyRunningMan : ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'AniSama'
|
extName = 'AniSama'
|
||||||
extClass = '.AniSama'
|
extClass = '.AniSama'
|
||||||
extVersionCode = 3
|
extVersionCode = 4
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
@ -13,4 +13,4 @@ dependencies {
|
|||||||
implementation(project(':lib:filemoon-extractor'))
|
implementation(project(':lib:filemoon-extractor'))
|
||||||
implementation(project(':lib:dood-extractor'))
|
implementation(project(':lib:dood-extractor'))
|
||||||
implementation(project(':lib:streamhidevid-extractor'))
|
implementation(project(':lib:streamhidevid-extractor'))
|
||||||
}
|
}
|
||||||
|
@ -97,8 +97,11 @@ class AniSama : ParsedAnimeHttpSource(), ConfigurableAnimeSource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
.apply { setUrlWithoutDomain(response.request.url.toString()) }
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'NimeGami'
|
extName = 'NimeGami'
|
||||||
extClass = '.NimeGami'
|
extClass = '.NimeGami'
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
@ -9,4 +9,4 @@ apply from: "$rootDir/common.gradle"
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation("dev.datlag.jsunpacker:jsunpacker:1.0.1")
|
implementation("dev.datlag.jsunpacker:jsunpacker:1.0.1")
|
||||||
implementation(project(":lib:synchrony"))
|
implementation(project(":lib:synchrony"))
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,11 @@ class NimeGami : ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'AniPlay'
|
extName = 'AniPlay'
|
||||||
extClass = '.AniPlay'
|
extClass = '.AniPlay'
|
||||||
extVersionCode = 10
|
extVersionCode = 11
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -84,8 +84,11 @@ class AniPlay : ConfigurableAnimeSource, AnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response)
|
val details = animeDetailsParse(response).apply {
|
||||||
.apply { setUrlWithoutDomain(response.request.url.toString()) }
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'AniDong'
|
extName = 'AniDong'
|
||||||
extClass = '.AniDong'
|
extClass = '.AniDong'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -75,7 +75,11 @@ class AniDong : ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Anime Fire'
|
extName = 'Anime Fire'
|
||||||
extClass = '.AnimeFire'
|
extClass = '.AnimeFire'
|
||||||
extVersionCode = 6
|
extVersionCode = 7
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -85,7 +85,11 @@ class AnimeFire : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response)
|
val details = animeDetailsParse(response).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Animes CX'
|
extName = 'Animes CX'
|
||||||
extClass = '.AnimesCX'
|
extClass = '.AnimesCX'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -100,8 +100,11 @@ class AnimesCX : ParsedAnimeHttpSource(), ConfigurableAnimeSource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
.apply { setUrlWithoutDomain(response.request.url.toString()) }
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Animes Digital'
|
extName = 'Animes Digital'
|
||||||
extClass = '.AnimesDigital'
|
extClass = '.AnimesDigital'
|
||||||
extVersionCode = 3
|
extVersionCode = 4
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -80,7 +80,11 @@ class AnimesDigital : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Animes Games'
|
extName = 'Animes Games'
|
||||||
extClass = '.AnimesGames'
|
extClass = '.AnimesGames'
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(':lib:blogger-extractor'))
|
implementation(project(':lib:blogger-extractor'))
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,11 @@ class AnimesGames : ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'AnimesROLL'
|
extName = 'AnimesROLL'
|
||||||
extClass = '.AnimesROLL'
|
extClass = '.AnimesROLL'
|
||||||
extVersionCode = 3
|
extVersionCode = 4
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -55,7 +55,11 @@ class AnimesROLL : AnimeHttpSource() {
|
|||||||
|
|
||||||
// =============================== Search ===============================
|
// =============================== Search ===============================
|
||||||
private fun searchAnimeByPathParse(response: Response): AnimesPage {
|
private fun searchAnimeByPathParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response)
|
val details = animeDetailsParse(response).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'AnimesTC'
|
extName = 'AnimesTC'
|
||||||
extClass = '.AnimesTC'
|
extClass = '.AnimesTC'
|
||||||
extVersionCode = 6
|
extVersionCode = 7
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -122,7 +122,11 @@ class AnimesTC : ConfigurableAnimeSource, AnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeBySlugParse(response: Response): AnimesPage {
|
private fun searchAnimeBySlugParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response)
|
val details = animeDetailsParse(response).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Better Anime'
|
extName = 'Better Anime'
|
||||||
extClass = '.BetterAnime'
|
extClass = '.BetterAnime'
|
||||||
extVersionCode = 10
|
extVersionCode = 11
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -101,7 +101,11 @@ class BetterAnime : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByPathParse(response: Response): AnimesPage {
|
private fun searchAnimeByPathParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response)
|
val details = animeDetailsParse(response).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Donghua no Sekai'
|
extName = 'Donghua no Sekai'
|
||||||
extClass = '.DonghuaNoSekai'
|
extClass = '.DonghuaNoSekai'
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -92,7 +92,11 @@ class DonghuaNoSekai : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Doramogo'
|
extName = 'Doramogo'
|
||||||
extClass = '.Doramogo'
|
extClass = '.Doramogo'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -71,7 +71,11 @@ class Doramogo : ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Flixei'
|
extName = 'Flixei'
|
||||||
extClass = '.Flixei'
|
extClass = '.Flixei'
|
||||||
extVersionCode = 6
|
extVersionCode = 7
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
@ -9,4 +9,4 @@ apply from: "$rootDir/common.gradle"
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":lib:streamtape-extractor"))
|
implementation(project(":lib:streamtape-extractor"))
|
||||||
implementation(project(":lib:mixdrop-extractor"))
|
implementation(project(":lib:mixdrop-extractor"))
|
||||||
}
|
}
|
||||||
|
@ -105,7 +105,11 @@ class Flixei : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByPathParse(response: Response): AnimesPage {
|
private fun searchAnimeByPathParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'HentaisTube'
|
extName = 'HentaisTube'
|
||||||
extClass = '.HentaisTube'
|
extClass = '.HentaisTube'
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -111,7 +111,11 @@ class HentaisTube : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
override fun getFilterList(): AnimeFilterList = HentaisTubeFilters.FILTER_LIST
|
override fun getFilterList(): AnimeFilterList = HentaisTubeFilters.FILTER_LIST
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Hinata Soul'
|
extName = 'Hinata Soul'
|
||||||
extClass = '.HinataSoul'
|
extClass = '.HinataSoul'
|
||||||
extVersionCode = 4
|
extVersionCode = 5
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -78,7 +78,11 @@ class HinataSoul : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeBySlugParse(response: Response): AnimesPage {
|
private fun searchAnimeBySlugParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response)
|
val details = animeDetailsParse(response).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Megaflix'
|
extName = 'Megaflix'
|
||||||
extClass = '.Megaflix'
|
extClass = '.Megaflix'
|
||||||
extVersionCode = 16
|
extVersionCode = 17
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -13,4 +13,4 @@ dependencies {
|
|||||||
implementation(project(":lib:playlist-utils"))
|
implementation(project(":lib:playlist-utils"))
|
||||||
// for mixdrop and megaflix
|
// for mixdrop and megaflix
|
||||||
implementation("dev.datlag.jsunpacker:jsunpacker:1.0.1")
|
implementation("dev.datlag.jsunpacker:jsunpacker:1.0.1")
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,11 @@ class Megaflix : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByPathParse(response: Response): AnimesPage {
|
private fun searchAnimeByPathParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Vizer.tv'
|
extName = 'Vizer.tv'
|
||||||
extClass = '.Vizer'
|
extClass = '.Vizer'
|
||||||
extVersionCode = 15
|
extVersionCode = 16
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -116,7 +116,11 @@ class Vizer : ConfigurableAnimeSource, AnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByPathParse(response: Response): AnimesPage {
|
private fun searchAnimeByPathParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response)
|
val details = animeDetailsParse(response).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Anime Srbija'
|
extName = 'Anime Srbija'
|
||||||
extClass = '.AnimeSrbija'
|
extClass = '.AnimeSrbija'
|
||||||
extVersionCode = 9
|
extVersionCode = 10
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
@ -9,4 +9,4 @@ apply from: "$rootDir/common.gradle"
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(':lib:filemoon-extractor'))
|
implementation(project(':lib:filemoon-extractor'))
|
||||||
implementation("dev.datlag.jsunpacker:jsunpacker:1.0.1")
|
implementation("dev.datlag.jsunpacker:jsunpacker:1.0.1")
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,11 @@ class AnimeSrbija : AnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response)
|
val details = animeDetailsParse(response).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Animeler'
|
extName = 'Animeler'
|
||||||
extClass = '.Animeler'
|
extClass = '.Animeler'
|
||||||
extVersionCode = 12
|
extVersionCode = 13
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -106,7 +106,11 @@ class Animeler : AnimeHttpSource(), ConfigurableAnimeSource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response)
|
val details = animeDetailsParse(response).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Anizm'
|
extName = 'Anizm'
|
||||||
extClass = '.Anizm'
|
extClass = '.Anizm'
|
||||||
extVersionCode = 20
|
extVersionCode = 21
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
@ -19,4 +19,4 @@ dependencies {
|
|||||||
implementation(project(':lib:uqload-extractor'))
|
implementation(project(':lib:uqload-extractor'))
|
||||||
implementation(project(":lib:voe-extractor"))
|
implementation(project(":lib:voe-extractor"))
|
||||||
implementation(project(":lib:yourupload-extractor"))
|
implementation(project(":lib:yourupload-extractor"))
|
||||||
}
|
}
|
||||||
|
@ -126,7 +126,11 @@ class Anizm : ParsedAnimeHttpSource(), ConfigurableAnimeSource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'HDFilmCehennemi'
|
extName = 'HDFilmCehennemi'
|
||||||
extClass = '.HDFilmCehennemi'
|
extClass = '.HDFilmCehennemi'
|
||||||
extVersionCode = 15
|
extVersionCode = 16
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -88,7 +88,11 @@ class HDFilmCehennemi : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'HentaiZM'
|
extName = 'HentaiZM'
|
||||||
extClass = '.HentaiZM'
|
extClass = '.HentaiZM'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,7 +115,11 @@ class HentaiZM : ParsedAnimeHttpSource(), ConfigurableAnimeSource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'TR Anime Izle'
|
extName = 'TR Anime Izle'
|
||||||
extClass = '.TRAnimeIzle'
|
extClass = '.TRAnimeIzle'
|
||||||
extVersionCode = 16
|
extVersionCode = 17
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
@ -17,4 +17,4 @@ dependencies {
|
|||||||
implementation(project(":lib:voe-extractor"))
|
implementation(project(":lib:voe-extractor"))
|
||||||
implementation(project(":lib:vudeo-extractor"))
|
implementation(project(":lib:vudeo-extractor"))
|
||||||
implementation(project(":lib:yourupload-extractor"))
|
implementation(project(":lib:yourupload-extractor"))
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,11 @@ class TRAnimeIzle : ParsedAnimeHttpSource(), ConfigurableAnimeSource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
private fun searchAnimeByIdParse(response: Response): AnimesPage {
|
||||||
val details = animeDetailsParse(response.asJsoup())
|
val details = animeDetailsParse(response.asJsoup()).apply {
|
||||||
|
setUrlWithoutDomain(response.request.url.toString())
|
||||||
|
initialized = true
|
||||||
|
}
|
||||||
|
|
||||||
return AnimesPage(listOf(details), false)
|
return AnimesPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user