From 50840034632437921d6877ce2b2be112687c1899 Mon Sep 17 00:00:00 2001 From: Claudemirovsky <63046606+Claudemirovsky@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:37:47 -0300 Subject: [PATCH] fix(all): Set initialized = true in URL intent handlers --- lib-multisrc/animestream/build.gradle.kts | 2 +- .../tachiyomi/multisrc/animestream/AnimeStream.kt | 6 +++++- lib-multisrc/dooplay/build.gradle.kts | 2 +- .../eu/kanade/tachiyomi/multisrc/dooplay/DooPlay.kt | 6 +++++- src/all/sudatchi/build.gradle | 2 +- .../animeextension/all/sudatchi/Sudatchi.kt | 9 ++++++++- src/all/supjav/build.gradle | 4 ++-- .../tachiyomi/animeextension/all/supjav/SupJav.kt | 6 +++++- src/all/torrentioanime/build.gradle | 2 +- .../animeextension/all/torrentioanime/Torrentio.kt | 13 ++++++++++--- src/ar/okanime/build.gradle | 4 ++-- .../tachiyomi/animeextension/ar/okanime/Okanime.kt | 6 +++++- src/de/einfach/build.gradle | 4 ++-- .../tachiyomi/animeextension/de/einfach/Einfach.kt | 6 +++++- src/en/hstream/build.gradle | 2 +- .../tachiyomi/animeextension/en/hstream/Hstream.kt | 5 ++++- src/en/kickassanime/build.gradle | 4 ++-- .../animeextension/en/kickassanime/KickAssAnime.kt | 6 +++++- src/en/myrunningman/build.gradle | 4 ++-- .../animeextension/en/myrunningman/MyRunningMan.kt | 6 +++++- src/fr/anisama/build.gradle | 4 ++-- .../tachiyomi/animeextension/fr/anisama/AniSama.kt | 7 +++++-- src/id/nimegami/build.gradle | 4 ++-- .../animeextension/id/nimegami/NimeGami.kt | 6 +++++- src/it/aniplay/build.gradle | 2 +- .../tachiyomi/animeextension/it/aniplay/AniPlay.kt | 7 +++++-- src/pt/anidong/build.gradle | 2 +- .../tachiyomi/animeextension/pt/anidong/AniDong.kt | 6 +++++- src/pt/animefire/build.gradle | 2 +- .../animeextension/pt/animefire/AnimeFire.kt | 6 +++++- src/pt/animescx/build.gradle | 2 +- .../animeextension/pt/animescx/AnimesCX.kt | 7 +++++-- src/pt/animesdigital/build.gradle | 2 +- .../pt/animesdigital/AnimesDigital.kt | 6 +++++- src/pt/animesgames/build.gradle | 4 ++-- .../animeextension/pt/animesgames/AnimesGames.kt | 6 +++++- src/pt/animesroll/build.gradle | 2 +- .../animeextension/pt/animesroll/AnimesROLL.kt | 6 +++++- src/pt/animestc/build.gradle | 2 +- .../animeextension/pt/animestc/AnimesTC.kt | 6 +++++- src/pt/betteranime/build.gradle | 2 +- .../animeextension/pt/betteranime/BetterAnime.kt | 6 +++++- src/pt/donghuanosekai/build.gradle | 2 +- .../pt/donghuanosekai/DonghuaNoSekai.kt | 6 +++++- src/pt/doramogo/build.gradle | 2 +- .../animeextension/pt/doramogo/Doramogo.kt | 6 +++++- src/pt/flixei/build.gradle | 4 ++-- .../tachiyomi/animeextension/pt/flixei/Flixei.kt | 6 +++++- src/pt/hentaistube/build.gradle | 2 +- .../animeextension/pt/hentaistube/HentaisTube.kt | 6 +++++- src/pt/hinatasoul/build.gradle | 2 +- .../animeextension/pt/hinatasoul/HinataSoul.kt | 6 +++++- src/pt/megaflix/build.gradle | 4 ++-- .../animeextension/pt/megaflix/Megaflix.kt | 6 +++++- src/pt/vizer/build.gradle | 2 +- .../tachiyomi/animeextension/pt/vizer/Vizer.kt | 6 +++++- src/sr/animesrbija/build.gradle | 4 ++-- .../animeextension/sr/animesrbija/AnimeSrbija.kt | 6 +++++- src/tr/animeler/build.gradle | 2 +- .../animeextension/tr/animeler/Animeler.kt | 6 +++++- src/tr/anizm/build.gradle | 4 ++-- .../tachiyomi/animeextension/tr/anizm/Anizm.kt | 6 +++++- src/tr/hdfilmcehennemi/build.gradle | 2 +- .../tr/hdfilmcehennemi/HDFilmCehennemi.kt | 6 +++++- src/tr/hentaizm/build.gradle | 2 +- .../animeextension/tr/hentaizm/HentaiZM.kt | 6 +++++- src/tr/tranimeizle/build.gradle | 4 ++-- .../animeextension/tr/tranimeizle/TRAnimeIzle.kt | 6 +++++- 68 files changed, 224 insertions(+), 86 deletions(-) diff --git a/lib-multisrc/animestream/build.gradle.kts b/lib-multisrc/animestream/build.gradle.kts index 5e2a19a10a..e2f11e9c19 100644 --- a/lib-multisrc/animestream/build.gradle.kts +++ b/lib-multisrc/animestream/build.gradle.kts @@ -2,4 +2,4 @@ plugins { id("lib-multisrc") } -baseVersionCode = 2 \ No newline at end of file +baseVersionCode = 3 diff --git a/lib-multisrc/animestream/src/eu/kanade/tachiyomi/multisrc/animestream/AnimeStream.kt b/lib-multisrc/animestream/src/eu/kanade/tachiyomi/multisrc/animestream/AnimeStream.kt index fbd2a18999..d6a2549375 100644 --- a/lib-multisrc/animestream/src/eu/kanade/tachiyomi/multisrc/animestream/AnimeStream.kt +++ b/lib-multisrc/animestream/src/eu/kanade/tachiyomi/multisrc/animestream/AnimeStream.kt @@ -117,7 +117,11 @@ abstract class AnimeStream( } 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) } diff --git a/lib-multisrc/dooplay/build.gradle.kts b/lib-multisrc/dooplay/build.gradle.kts index 0024039f0a..9dce2478cf 100644 --- a/lib-multisrc/dooplay/build.gradle.kts +++ b/lib-multisrc/dooplay/build.gradle.kts @@ -2,4 +2,4 @@ plugins { id("lib-multisrc") } -baseVersionCode = 1 \ No newline at end of file +baseVersionCode = 2 diff --git a/lib-multisrc/dooplay/src/eu/kanade/tachiyomi/multisrc/dooplay/DooPlay.kt b/lib-multisrc/dooplay/src/eu/kanade/tachiyomi/multisrc/dooplay/DooPlay.kt index 818496c877..7756075c85 100644 --- a/lib-multisrc/dooplay/src/eu/kanade/tachiyomi/multisrc/dooplay/DooPlay.kt +++ b/lib-multisrc/dooplay/src/eu/kanade/tachiyomi/multisrc/dooplay/DooPlay.kt @@ -155,7 +155,11 @@ abstract class DooPlay( // =============================== Search =============================== 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) } diff --git a/src/all/sudatchi/build.gradle b/src/all/sudatchi/build.gradle index cbd13790e6..9cc02ebbbf 100644 --- a/src/all/sudatchi/build.gradle +++ b/src/all/sudatchi/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Sudatchi' extClass = '.Sudatchi' - extVersionCode = 1 + extVersionCode = 2 } apply from: "$rootDir/common.gradle" diff --git a/src/all/sudatchi/src/eu/kanade/tachiyomi/animeextension/all/sudatchi/Sudatchi.kt b/src/all/sudatchi/src/eu/kanade/tachiyomi/animeextension/all/sudatchi/Sudatchi.kt index 7e485873ba..584dae56c6 100644 --- a/src/all/sudatchi/src/eu/kanade/tachiyomi/animeextension/all/sudatchi/Sudatchi.kt +++ b/src/all/sudatchi/src/eu/kanade/tachiyomi/animeextension/all/sudatchi/Sudatchi.kt @@ -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 { val url = "$baseUrl/api/directory".toHttpUrl().newBuilder() diff --git a/src/all/supjav/build.gradle b/src/all/supjav/build.gradle index 5bbae31540..b3bad3c12e 100644 --- a/src/all/supjav/build.gradle +++ b/src/all/supjav/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'SupJav' extClass = '.SupJavFactory' - extVersionCode = 8 + extVersionCode = 9 isNsfw = true } @@ -12,4 +12,4 @@ dependencies { implementation(project(":lib:streamwish-extractor")) implementation(project(":lib:voe-extractor")) implementation(project(":lib:playlist-utils")) -} \ No newline at end of file +} diff --git a/src/all/supjav/src/eu/kanade/tachiyomi/animeextension/all/supjav/SupJav.kt b/src/all/supjav/src/eu/kanade/tachiyomi/animeextension/all/supjav/SupJav.kt index dc118204b7..fb371b4ed3 100644 --- a/src/all/supjav/src/eu/kanade/tachiyomi/animeextension/all/supjav/SupJav.kt +++ b/src/all/supjav/src/eu/kanade/tachiyomi/animeextension/all/supjav/SupJav.kt @@ -93,7 +93,11 @@ class SupJav(override val lang: String = "en") : ConfigurableAnimeSource, Parsed } 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) } diff --git a/src/all/torrentioanime/build.gradle b/src/all/torrentioanime/build.gradle index 4571b01a28..1c3a03be39 100644 --- a/src/all/torrentioanime/build.gradle +++ b/src/all/torrentioanime/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Torrentio Anime (Torrent / Debrid)' extClass = '.Torrentio' - extVersionCode = 6 + extVersionCode = 7 containsNsfw = false } diff --git a/src/all/torrentioanime/src/eu/kanade/tachiyomi/animeextension/all/torrentioanime/Torrentio.kt b/src/all/torrentioanime/src/eu/kanade/tachiyomi/animeextension/all/torrentioanime/Torrentio.kt index 85c9de9f52..21a386f0ac 100644 --- a/src/all/torrentioanime/src/eu/kanade/tachiyomi/animeextension/all/torrentioanime/Torrentio.kt +++ b/src/all/torrentioanime/src/eu/kanade/tachiyomi/animeextension/all/torrentioanime/Torrentio.kt @@ -225,7 +225,8 @@ class Torrentio : ConfigurableAnimeSource, AnimeHttpSource() { override fun popularAnimeParse(response: Response): AnimesPage { val jsonData = response.body.string() - return parseSearchJson(jsonData) } + return parseSearchJson(jsonData) + } // =============================== Latest =============================== override fun latestUpdatesRequest(page: Int): Request { @@ -258,7 +259,11 @@ class Torrentio : ConfigurableAnimeSource, AnimeHttpSource() { } 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) } @@ -479,7 +484,9 @@ class Torrentio : ConfigurableAnimeSource, AnimeHttpSource() { if (debridProvider == "none") { 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}" - } else stream.url ?: "" + } else { + stream.url ?: "" + } Video(urlOrHash, ((stream.name?.replace("Torrentio\n", "") ?: "") + "\n" + stream.title), urlOrHash) }.orEmpty() } diff --git a/src/ar/okanime/build.gradle b/src/ar/okanime/build.gradle index c547bf3be6..ae9a406d2f 100644 --- a/src/ar/okanime/build.gradle +++ b/src/ar/okanime/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Okanime' extClass = '.Okanime' - extVersionCode = 8 + extVersionCode = 9 } apply from: "$rootDir/common.gradle" @@ -12,4 +12,4 @@ dependencies { implementation(project(":lib:okru-extractor")) implementation(project(":lib:vidbom-extractor")) implementation(project(":lib:mp4upload-extractor")) -} \ No newline at end of file +} diff --git a/src/ar/okanime/src/eu/kanade/tachiyomi/animeextension/ar/okanime/Okanime.kt b/src/ar/okanime/src/eu/kanade/tachiyomi/animeextension/ar/okanime/Okanime.kt index cb1f249a52..a51efc648a 100644 --- a/src/ar/okanime/src/eu/kanade/tachiyomi/animeextension/ar/okanime/Okanime.kt +++ b/src/ar/okanime/src/eu/kanade/tachiyomi/animeextension/ar/okanime/Okanime.kt @@ -77,7 +77,11 @@ class Okanime : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } 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) } diff --git a/src/de/einfach/build.gradle b/src/de/einfach/build.gradle index d9b8cce575..1ad2b145d1 100644 --- a/src/de/einfach/build.gradle +++ b/src/de/einfach/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Einfach' extClass = '.Einfach' - extVersionCode = 9 + extVersionCode = 10 } apply from: "$rootDir/common.gradle" @@ -15,4 +15,4 @@ dependencies { implementation(project(":lib:streamwish-extractor")) implementation(project(":lib:voe-extractor")) implementation("dev.datlag.jsunpacker:jsunpacker:1.0.1") -} \ No newline at end of file +} diff --git a/src/de/einfach/src/eu/kanade/tachiyomi/animeextension/de/einfach/Einfach.kt b/src/de/einfach/src/eu/kanade/tachiyomi/animeextension/de/einfach/Einfach.kt index 7ef0df6264..5d93b63f8c 100644 --- a/src/de/einfach/src/eu/kanade/tachiyomi/animeextension/de/einfach/Einfach.kt +++ b/src/de/einfach/src/eu/kanade/tachiyomi/animeextension/de/einfach/Einfach.kt @@ -87,7 +87,11 @@ class Einfach : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } 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) } diff --git a/src/en/hstream/build.gradle b/src/en/hstream/build.gradle index c6f384f9a0..f964540347 100644 --- a/src/en/hstream/build.gradle +++ b/src/en/hstream/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Hstream' extClass = '.Hstream' - extVersionCode = 8 + extVersionCode = 9 isNsfw = true } diff --git a/src/en/hstream/src/eu/kanade/tachiyomi/animeextension/en/hstream/Hstream.kt b/src/en/hstream/src/eu/kanade/tachiyomi/animeextension/en/hstream/Hstream.kt index 418a33a3a4..aa87e7e626 100644 --- a/src/en/hstream/src/eu/kanade/tachiyomi/animeextension/en/hstream/Hstream.kt +++ b/src/en/hstream/src/eu/kanade/tachiyomi/animeextension/en/hstream/Hstream.kt @@ -90,7 +90,10 @@ class Hstream : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } 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) } diff --git a/src/en/kickassanime/build.gradle b/src/en/kickassanime/build.gradle index e52e2f35f0..d75d770a22 100644 --- a/src/en/kickassanime/build.gradle +++ b/src/en/kickassanime/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'KickAssAnime' extClass = '.KickAssAnime' - extVersionCode = 42 + extVersionCode = 43 } apply from: "$rootDir/common.gradle" @@ -9,4 +9,4 @@ apply from: "$rootDir/common.gradle" dependencies { implementation(project(":lib:cryptoaes")) implementation(project(":lib:playlist-utils")) -} \ No newline at end of file +} diff --git a/src/en/kickassanime/src/eu/kanade/tachiyomi/animeextension/en/kickassanime/KickAssAnime.kt b/src/en/kickassanime/src/eu/kanade/tachiyomi/animeextension/en/kickassanime/KickAssAnime.kt index ad9e8559f4..ec74afc744 100644 --- a/src/en/kickassanime/src/eu/kanade/tachiyomi/animeextension/en/kickassanime/KickAssAnime.kt +++ b/src/en/kickassanime/src/eu/kanade/tachiyomi/animeextension/en/kickassanime/KickAssAnime.kt @@ -249,7 +249,11 @@ class KickAssAnime : ConfigurableAnimeSource, AnimeHttpSource() { } 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) } diff --git a/src/en/myrunningman/build.gradle b/src/en/myrunningman/build.gradle index 771abe8955..ac71dc7520 100644 --- a/src/en/myrunningman/build.gradle +++ b/src/en/myrunningman/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'My Running Man' extClass = '.MyRunningMan' - extVersionCode = 4 + extVersionCode = 5 } apply from: "$rootDir/common.gradle" @@ -10,4 +10,4 @@ dependencies { implementation(project(":lib:dood-extractor")) implementation(project(":lib:mixdrop-extractor")) implementation(project(":lib:streamtape-extractor")) -} \ No newline at end of file +} diff --git a/src/en/myrunningman/src/eu/kanade/tachiyomi/animeextension/en/myrunningman/MyRunningMan.kt b/src/en/myrunningman/src/eu/kanade/tachiyomi/animeextension/en/myrunningman/MyRunningMan.kt index be016a9363..979b763284 100644 --- a/src/en/myrunningman/src/eu/kanade/tachiyomi/animeextension/en/myrunningman/MyRunningMan.kt +++ b/src/en/myrunningman/src/eu/kanade/tachiyomi/animeextension/en/myrunningman/MyRunningMan.kt @@ -73,7 +73,11 @@ class MyRunningMan : ParsedAnimeHttpSource() { } 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) } diff --git a/src/fr/anisama/build.gradle b/src/fr/anisama/build.gradle index e05f54ce67..73f3226ec8 100644 --- a/src/fr/anisama/build.gradle +++ b/src/fr/anisama/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'AniSama' extClass = '.AniSama' - extVersionCode = 3 + extVersionCode = 4 } apply from: "$rootDir/common.gradle" @@ -13,4 +13,4 @@ dependencies { implementation(project(':lib:filemoon-extractor')) implementation(project(':lib:dood-extractor')) implementation(project(':lib:streamhidevid-extractor')) -} \ No newline at end of file +} diff --git a/src/fr/anisama/src/eu/kanade/tachiyomi/animeextension/fr/anisama/AniSama.kt b/src/fr/anisama/src/eu/kanade/tachiyomi/animeextension/fr/anisama/AniSama.kt index f9cbbabc0f..88a7544642 100644 --- a/src/fr/anisama/src/eu/kanade/tachiyomi/animeextension/fr/anisama/AniSama.kt +++ b/src/fr/anisama/src/eu/kanade/tachiyomi/animeextension/fr/anisama/AniSama.kt @@ -97,8 +97,11 @@ class AniSama : ParsedAnimeHttpSource(), ConfigurableAnimeSource { } private fun searchAnimeByIdParse(response: Response): AnimesPage { - val details = animeDetailsParse(response.asJsoup()) - .apply { setUrlWithoutDomain(response.request.url.toString()) } + val details = animeDetailsParse(response.asJsoup()).apply { + setUrlWithoutDomain(response.request.url.toString()) + initialized = true + } + return AnimesPage(listOf(details), false) } diff --git a/src/id/nimegami/build.gradle b/src/id/nimegami/build.gradle index a770985855..5708ff6ba5 100644 --- a/src/id/nimegami/build.gradle +++ b/src/id/nimegami/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'NimeGami' extClass = '.NimeGami' - extVersionCode = 2 + extVersionCode = 3 } apply from: "$rootDir/common.gradle" @@ -9,4 +9,4 @@ apply from: "$rootDir/common.gradle" dependencies { implementation("dev.datlag.jsunpacker:jsunpacker:1.0.1") implementation(project(":lib:synchrony")) -} \ No newline at end of file +} diff --git a/src/id/nimegami/src/eu/kanade/tachiyomi/animeextension/id/nimegami/NimeGami.kt b/src/id/nimegami/src/eu/kanade/tachiyomi/animeextension/id/nimegami/NimeGami.kt index 06aa592291..cd26dc1bce 100644 --- a/src/id/nimegami/src/eu/kanade/tachiyomi/animeextension/id/nimegami/NimeGami.kt +++ b/src/id/nimegami/src/eu/kanade/tachiyomi/animeextension/id/nimegami/NimeGami.kt @@ -75,7 +75,11 @@ class NimeGami : ParsedAnimeHttpSource() { } 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) } diff --git a/src/it/aniplay/build.gradle b/src/it/aniplay/build.gradle index dad782720a..bed951f31b 100644 --- a/src/it/aniplay/build.gradle +++ b/src/it/aniplay/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'AniPlay' extClass = '.AniPlay' - extVersionCode = 10 + extVersionCode = 11 } apply from: "$rootDir/common.gradle" diff --git a/src/it/aniplay/src/eu/kanade/tachiyomi/animeextension/it/aniplay/AniPlay.kt b/src/it/aniplay/src/eu/kanade/tachiyomi/animeextension/it/aniplay/AniPlay.kt index 0f3865965f..223e0e1c55 100644 --- a/src/it/aniplay/src/eu/kanade/tachiyomi/animeextension/it/aniplay/AniPlay.kt +++ b/src/it/aniplay/src/eu/kanade/tachiyomi/animeextension/it/aniplay/AniPlay.kt @@ -84,8 +84,11 @@ class AniPlay : ConfigurableAnimeSource, AnimeHttpSource() { } private fun searchAnimeByIdParse(response: Response): AnimesPage { - val details = animeDetailsParse(response) - .apply { setUrlWithoutDomain(response.request.url.toString()) } + val details = animeDetailsParse(response).apply { + setUrlWithoutDomain(response.request.url.toString()) + initialized = true + } + return AnimesPage(listOf(details), false) } diff --git a/src/pt/anidong/build.gradle b/src/pt/anidong/build.gradle index 11e9f357ed..57fb4d0597 100644 --- a/src/pt/anidong/build.gradle +++ b/src/pt/anidong/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'AniDong' extClass = '.AniDong' - extVersionCode = 1 + extVersionCode = 2 } apply from: "$rootDir/common.gradle" diff --git a/src/pt/anidong/src/eu/kanade/tachiyomi/animeextension/pt/anidong/AniDong.kt b/src/pt/anidong/src/eu/kanade/tachiyomi/animeextension/pt/anidong/AniDong.kt index dcdac7b790..ea22f1d318 100644 --- a/src/pt/anidong/src/eu/kanade/tachiyomi/animeextension/pt/anidong/AniDong.kt +++ b/src/pt/anidong/src/eu/kanade/tachiyomi/animeextension/pt/anidong/AniDong.kt @@ -75,7 +75,11 @@ class AniDong : ParsedAnimeHttpSource() { } 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) } diff --git a/src/pt/animefire/build.gradle b/src/pt/animefire/build.gradle index 8e902f9fd8..adae6793d3 100644 --- a/src/pt/animefire/build.gradle +++ b/src/pt/animefire/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Anime Fire' extClass = '.AnimeFire' - extVersionCode = 6 + extVersionCode = 7 } apply from: "$rootDir/common.gradle" diff --git a/src/pt/animefire/src/eu/kanade/tachiyomi/animeextension/pt/animefire/AnimeFire.kt b/src/pt/animefire/src/eu/kanade/tachiyomi/animeextension/pt/animefire/AnimeFire.kt index fbc3528642..0b4744ede5 100644 --- a/src/pt/animefire/src/eu/kanade/tachiyomi/animeextension/pt/animefire/AnimeFire.kt +++ b/src/pt/animefire/src/eu/kanade/tachiyomi/animeextension/pt/animefire/AnimeFire.kt @@ -85,7 +85,11 @@ class AnimeFire : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } 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) } diff --git a/src/pt/animescx/build.gradle b/src/pt/animescx/build.gradle index d84191d091..c993b12982 100644 --- a/src/pt/animescx/build.gradle +++ b/src/pt/animescx/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Animes CX' extClass = '.AnimesCX' - extVersionCode = 1 + extVersionCode = 2 isNsfw = true } diff --git a/src/pt/animescx/src/eu/kanade/tachiyomi/animeextension/pt/animescx/AnimesCX.kt b/src/pt/animescx/src/eu/kanade/tachiyomi/animeextension/pt/animescx/AnimesCX.kt index 65795ccfec..0e9d96b045 100644 --- a/src/pt/animescx/src/eu/kanade/tachiyomi/animeextension/pt/animescx/AnimesCX.kt +++ b/src/pt/animescx/src/eu/kanade/tachiyomi/animeextension/pt/animescx/AnimesCX.kt @@ -100,8 +100,11 @@ class AnimesCX : ParsedAnimeHttpSource(), ConfigurableAnimeSource { } private fun searchAnimeByIdParse(response: Response): AnimesPage { - val details = animeDetailsParse(response.asJsoup()) - .apply { setUrlWithoutDomain(response.request.url.toString()) } + val details = animeDetailsParse(response.asJsoup()).apply { + setUrlWithoutDomain(response.request.url.toString()) + initialized = true + } + return AnimesPage(listOf(details), false) } diff --git a/src/pt/animesdigital/build.gradle b/src/pt/animesdigital/build.gradle index c3e84d841e..917d49f0d1 100644 --- a/src/pt/animesdigital/build.gradle +++ b/src/pt/animesdigital/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Animes Digital' extClass = '.AnimesDigital' - extVersionCode = 3 + extVersionCode = 4 } apply from: "$rootDir/common.gradle" diff --git a/src/pt/animesdigital/src/eu/kanade/tachiyomi/animeextension/pt/animesdigital/AnimesDigital.kt b/src/pt/animesdigital/src/eu/kanade/tachiyomi/animeextension/pt/animesdigital/AnimesDigital.kt index 9b3f7fd0b7..01a7d8f77d 100644 --- a/src/pt/animesdigital/src/eu/kanade/tachiyomi/animeextension/pt/animesdigital/AnimesDigital.kt +++ b/src/pt/animesdigital/src/eu/kanade/tachiyomi/animeextension/pt/animesdigital/AnimesDigital.kt @@ -80,7 +80,11 @@ class AnimesDigital : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } 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) } diff --git a/src/pt/animesgames/build.gradle b/src/pt/animesgames/build.gradle index 932d562264..bd2f494127 100644 --- a/src/pt/animesgames/build.gradle +++ b/src/pt/animesgames/build.gradle @@ -1,11 +1,11 @@ ext { extName = 'Animes Games' extClass = '.AnimesGames' - extVersionCode = 2 + extVersionCode = 3 } apply from: "$rootDir/common.gradle" dependencies { implementation(project(':lib:blogger-extractor')) -} \ No newline at end of file +} diff --git a/src/pt/animesgames/src/eu/kanade/tachiyomi/animeextension/pt/animesgames/AnimesGames.kt b/src/pt/animesgames/src/eu/kanade/tachiyomi/animeextension/pt/animesgames/AnimesGames.kt index 58cca6ee29..d719cac8d5 100644 --- a/src/pt/animesgames/src/eu/kanade/tachiyomi/animeextension/pt/animesgames/AnimesGames.kt +++ b/src/pt/animesgames/src/eu/kanade/tachiyomi/animeextension/pt/animesgames/AnimesGames.kt @@ -79,7 +79,11 @@ class AnimesGames : ParsedAnimeHttpSource() { } 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) } diff --git a/src/pt/animesroll/build.gradle b/src/pt/animesroll/build.gradle index 9d04ccef0c..4369ebc72e 100644 --- a/src/pt/animesroll/build.gradle +++ b/src/pt/animesroll/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'AnimesROLL' extClass = '.AnimesROLL' - extVersionCode = 3 + extVersionCode = 4 } apply from: "$rootDir/common.gradle" diff --git a/src/pt/animesroll/src/eu/kanade/tachiyomi/animeextension/pt/animesroll/AnimesROLL.kt b/src/pt/animesroll/src/eu/kanade/tachiyomi/animeextension/pt/animesroll/AnimesROLL.kt index 452eeb2bdc..3070a5c550 100644 --- a/src/pt/animesroll/src/eu/kanade/tachiyomi/animeextension/pt/animesroll/AnimesROLL.kt +++ b/src/pt/animesroll/src/eu/kanade/tachiyomi/animeextension/pt/animesroll/AnimesROLL.kt @@ -55,7 +55,11 @@ class AnimesROLL : AnimeHttpSource() { // =============================== Search =============================== 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) } diff --git a/src/pt/animestc/build.gradle b/src/pt/animestc/build.gradle index 0e9093bb5c..50b73a6837 100644 --- a/src/pt/animestc/build.gradle +++ b/src/pt/animestc/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'AnimesTC' extClass = '.AnimesTC' - extVersionCode = 6 + extVersionCode = 7 } apply from: "$rootDir/common.gradle" diff --git a/src/pt/animestc/src/eu/kanade/tachiyomi/animeextension/pt/animestc/AnimesTC.kt b/src/pt/animestc/src/eu/kanade/tachiyomi/animeextension/pt/animestc/AnimesTC.kt index c73b02db0f..1f0330d7fd 100644 --- a/src/pt/animestc/src/eu/kanade/tachiyomi/animeextension/pt/animestc/AnimesTC.kt +++ b/src/pt/animestc/src/eu/kanade/tachiyomi/animeextension/pt/animestc/AnimesTC.kt @@ -122,7 +122,11 @@ class AnimesTC : ConfigurableAnimeSource, AnimeHttpSource() { } 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) } diff --git a/src/pt/betteranime/build.gradle b/src/pt/betteranime/build.gradle index 04eb57b028..9ac6d5e688 100644 --- a/src/pt/betteranime/build.gradle +++ b/src/pt/betteranime/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Better Anime' extClass = '.BetterAnime' - extVersionCode = 10 + extVersionCode = 11 } apply from: "$rootDir/common.gradle" diff --git a/src/pt/betteranime/src/eu/kanade/tachiyomi/animeextension/pt/betteranime/BetterAnime.kt b/src/pt/betteranime/src/eu/kanade/tachiyomi/animeextension/pt/betteranime/BetterAnime.kt index e00fe0a5aa..dc0a3d554c 100644 --- a/src/pt/betteranime/src/eu/kanade/tachiyomi/animeextension/pt/betteranime/BetterAnime.kt +++ b/src/pt/betteranime/src/eu/kanade/tachiyomi/animeextension/pt/betteranime/BetterAnime.kt @@ -101,7 +101,11 @@ class BetterAnime : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } 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) } diff --git a/src/pt/donghuanosekai/build.gradle b/src/pt/donghuanosekai/build.gradle index 0b12dfe852..9fdb945802 100644 --- a/src/pt/donghuanosekai/build.gradle +++ b/src/pt/donghuanosekai/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Donghua no Sekai' extClass = '.DonghuaNoSekai' - extVersionCode = 2 + extVersionCode = 3 } apply from: "$rootDir/common.gradle" diff --git a/src/pt/donghuanosekai/src/eu/kanade/tachiyomi/animeextension/pt/donghuanosekai/DonghuaNoSekai.kt b/src/pt/donghuanosekai/src/eu/kanade/tachiyomi/animeextension/pt/donghuanosekai/DonghuaNoSekai.kt index 68b08ee27d..de96b37033 100644 --- a/src/pt/donghuanosekai/src/eu/kanade/tachiyomi/animeextension/pt/donghuanosekai/DonghuaNoSekai.kt +++ b/src/pt/donghuanosekai/src/eu/kanade/tachiyomi/animeextension/pt/donghuanosekai/DonghuaNoSekai.kt @@ -92,7 +92,11 @@ class DonghuaNoSekai : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } 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) } diff --git a/src/pt/doramogo/build.gradle b/src/pt/doramogo/build.gradle index c38a2e34ba..f91b01f453 100644 --- a/src/pt/doramogo/build.gradle +++ b/src/pt/doramogo/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Doramogo' extClass = '.Doramogo' - extVersionCode = 1 + extVersionCode = 2 } apply from: "$rootDir/common.gradle" diff --git a/src/pt/doramogo/src/eu/kanade/tachiyomi/animeextension/pt/doramogo/Doramogo.kt b/src/pt/doramogo/src/eu/kanade/tachiyomi/animeextension/pt/doramogo/Doramogo.kt index dcaa1b0c90..30582ca44d 100644 --- a/src/pt/doramogo/src/eu/kanade/tachiyomi/animeextension/pt/doramogo/Doramogo.kt +++ b/src/pt/doramogo/src/eu/kanade/tachiyomi/animeextension/pt/doramogo/Doramogo.kt @@ -71,7 +71,11 @@ class Doramogo : ParsedAnimeHttpSource() { } 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) } diff --git a/src/pt/flixei/build.gradle b/src/pt/flixei/build.gradle index 92165c8580..1370ae7f64 100644 --- a/src/pt/flixei/build.gradle +++ b/src/pt/flixei/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Flixei' extClass = '.Flixei' - extVersionCode = 6 + extVersionCode = 7 } apply from: "$rootDir/common.gradle" @@ -9,4 +9,4 @@ apply from: "$rootDir/common.gradle" dependencies { implementation(project(":lib:streamtape-extractor")) implementation(project(":lib:mixdrop-extractor")) -} \ No newline at end of file +} diff --git a/src/pt/flixei/src/eu/kanade/tachiyomi/animeextension/pt/flixei/Flixei.kt b/src/pt/flixei/src/eu/kanade/tachiyomi/animeextension/pt/flixei/Flixei.kt index 27750b8665..1aad72bca8 100644 --- a/src/pt/flixei/src/eu/kanade/tachiyomi/animeextension/pt/flixei/Flixei.kt +++ b/src/pt/flixei/src/eu/kanade/tachiyomi/animeextension/pt/flixei/Flixei.kt @@ -105,7 +105,11 @@ class Flixei : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } 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) } diff --git a/src/pt/hentaistube/build.gradle b/src/pt/hentaistube/build.gradle index d5c83e6ed2..ff324dfa20 100644 --- a/src/pt/hentaistube/build.gradle +++ b/src/pt/hentaistube/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'HentaisTube' extClass = '.HentaisTube' - extVersionCode = 2 + extVersionCode = 3 isNsfw = true } diff --git a/src/pt/hentaistube/src/eu/kanade/tachiyomi/animeextension/pt/hentaistube/HentaisTube.kt b/src/pt/hentaistube/src/eu/kanade/tachiyomi/animeextension/pt/hentaistube/HentaisTube.kt index 0bb40953a1..35fcc0c2e5 100644 --- a/src/pt/hentaistube/src/eu/kanade/tachiyomi/animeextension/pt/hentaistube/HentaisTube.kt +++ b/src/pt/hentaistube/src/eu/kanade/tachiyomi/animeextension/pt/hentaistube/HentaisTube.kt @@ -111,7 +111,11 @@ class HentaisTube : ConfigurableAnimeSource, ParsedAnimeHttpSource() { override fun getFilterList(): AnimeFilterList = HentaisTubeFilters.FILTER_LIST 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) } diff --git a/src/pt/hinatasoul/build.gradle b/src/pt/hinatasoul/build.gradle index e7e565be67..09a0420354 100644 --- a/src/pt/hinatasoul/build.gradle +++ b/src/pt/hinatasoul/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Hinata Soul' extClass = '.HinataSoul' - extVersionCode = 4 + extVersionCode = 5 } apply from: "$rootDir/common.gradle" diff --git a/src/pt/hinatasoul/src/eu/kanade/tachiyomi/animeextension/pt/hinatasoul/HinataSoul.kt b/src/pt/hinatasoul/src/eu/kanade/tachiyomi/animeextension/pt/hinatasoul/HinataSoul.kt index 2b32c3cc80..e641cfe43a 100644 --- a/src/pt/hinatasoul/src/eu/kanade/tachiyomi/animeextension/pt/hinatasoul/HinataSoul.kt +++ b/src/pt/hinatasoul/src/eu/kanade/tachiyomi/animeextension/pt/hinatasoul/HinataSoul.kt @@ -78,7 +78,11 @@ class HinataSoul : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } 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) } diff --git a/src/pt/megaflix/build.gradle b/src/pt/megaflix/build.gradle index cdfae1f98c..a4f744b3ae 100644 --- a/src/pt/megaflix/build.gradle +++ b/src/pt/megaflix/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Megaflix' extClass = '.Megaflix' - extVersionCode = 16 + extVersionCode = 17 isNsfw = true } @@ -13,4 +13,4 @@ dependencies { implementation(project(":lib:playlist-utils")) // for mixdrop and megaflix implementation("dev.datlag.jsunpacker:jsunpacker:1.0.1") -} \ No newline at end of file +} diff --git a/src/pt/megaflix/src/eu/kanade/tachiyomi/animeextension/pt/megaflix/Megaflix.kt b/src/pt/megaflix/src/eu/kanade/tachiyomi/animeextension/pt/megaflix/Megaflix.kt index 63f099ef47..d9d72ac7e4 100644 --- a/src/pt/megaflix/src/eu/kanade/tachiyomi/animeextension/pt/megaflix/Megaflix.kt +++ b/src/pt/megaflix/src/eu/kanade/tachiyomi/animeextension/pt/megaflix/Megaflix.kt @@ -81,7 +81,11 @@ class Megaflix : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } 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) } diff --git a/src/pt/vizer/build.gradle b/src/pt/vizer/build.gradle index 814be02403..937aaa1764 100644 --- a/src/pt/vizer/build.gradle +++ b/src/pt/vizer/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Vizer.tv' extClass = '.Vizer' - extVersionCode = 15 + extVersionCode = 16 isNsfw = true } diff --git a/src/pt/vizer/src/eu/kanade/tachiyomi/animeextension/pt/vizer/Vizer.kt b/src/pt/vizer/src/eu/kanade/tachiyomi/animeextension/pt/vizer/Vizer.kt index c78d31d5b8..fc2ef35b08 100644 --- a/src/pt/vizer/src/eu/kanade/tachiyomi/animeextension/pt/vizer/Vizer.kt +++ b/src/pt/vizer/src/eu/kanade/tachiyomi/animeextension/pt/vizer/Vizer.kt @@ -116,7 +116,11 @@ class Vizer : ConfigurableAnimeSource, AnimeHttpSource() { } 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) } diff --git a/src/sr/animesrbija/build.gradle b/src/sr/animesrbija/build.gradle index 0e07cea0c3..8f22c6bad2 100644 --- a/src/sr/animesrbija/build.gradle +++ b/src/sr/animesrbija/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Anime Srbija' extClass = '.AnimeSrbija' - extVersionCode = 9 + extVersionCode = 10 } apply from: "$rootDir/common.gradle" @@ -9,4 +9,4 @@ apply from: "$rootDir/common.gradle" dependencies { implementation(project(':lib:filemoon-extractor')) implementation("dev.datlag.jsunpacker:jsunpacker:1.0.1") -} \ No newline at end of file +} diff --git a/src/sr/animesrbija/src/eu/kanade/tachiyomi/animeextension/sr/animesrbija/AnimeSrbija.kt b/src/sr/animesrbija/src/eu/kanade/tachiyomi/animeextension/sr/animesrbija/AnimeSrbija.kt index ef54835403..07818d9107 100644 --- a/src/sr/animesrbija/src/eu/kanade/tachiyomi/animeextension/sr/animesrbija/AnimeSrbija.kt +++ b/src/sr/animesrbija/src/eu/kanade/tachiyomi/animeextension/sr/animesrbija/AnimeSrbija.kt @@ -134,7 +134,11 @@ class AnimeSrbija : AnimeHttpSource() { } 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) } diff --git a/src/tr/animeler/build.gradle b/src/tr/animeler/build.gradle index d9ca46e9ac..911d456e02 100644 --- a/src/tr/animeler/build.gradle +++ b/src/tr/animeler/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Animeler' extClass = '.Animeler' - extVersionCode = 12 + extVersionCode = 13 } apply from: "$rootDir/common.gradle" diff --git a/src/tr/animeler/src/eu/kanade/tachiyomi/animeextension/tr/animeler/Animeler.kt b/src/tr/animeler/src/eu/kanade/tachiyomi/animeextension/tr/animeler/Animeler.kt index 6cf177c89b..47d86a0a04 100644 --- a/src/tr/animeler/src/eu/kanade/tachiyomi/animeextension/tr/animeler/Animeler.kt +++ b/src/tr/animeler/src/eu/kanade/tachiyomi/animeextension/tr/animeler/Animeler.kt @@ -106,7 +106,11 @@ class Animeler : AnimeHttpSource(), ConfigurableAnimeSource { } 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) } diff --git a/src/tr/anizm/build.gradle b/src/tr/anizm/build.gradle index 8af554a31b..093580e002 100644 --- a/src/tr/anizm/build.gradle +++ b/src/tr/anizm/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Anizm' extClass = '.Anizm' - extVersionCode = 20 + extVersionCode = 21 } apply from: "$rootDir/common.gradle" @@ -19,4 +19,4 @@ dependencies { implementation(project(':lib:uqload-extractor')) implementation(project(":lib:voe-extractor")) implementation(project(":lib:yourupload-extractor")) -} \ No newline at end of file +} diff --git a/src/tr/anizm/src/eu/kanade/tachiyomi/animeextension/tr/anizm/Anizm.kt b/src/tr/anizm/src/eu/kanade/tachiyomi/animeextension/tr/anizm/Anizm.kt index eb78aaef6e..decf285d9f 100644 --- a/src/tr/anizm/src/eu/kanade/tachiyomi/animeextension/tr/anizm/Anizm.kt +++ b/src/tr/anizm/src/eu/kanade/tachiyomi/animeextension/tr/anizm/Anizm.kt @@ -126,7 +126,11 @@ class Anizm : ParsedAnimeHttpSource(), ConfigurableAnimeSource { } 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) } diff --git a/src/tr/hdfilmcehennemi/build.gradle b/src/tr/hdfilmcehennemi/build.gradle index 8ae345be35..530a1e79ab 100644 --- a/src/tr/hdfilmcehennemi/build.gradle +++ b/src/tr/hdfilmcehennemi/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'HDFilmCehennemi' extClass = '.HDFilmCehennemi' - extVersionCode = 15 + extVersionCode = 16 isNsfw = true } diff --git a/src/tr/hdfilmcehennemi/src/eu/kanade/tachiyomi/animeextension/tr/hdfilmcehennemi/HDFilmCehennemi.kt b/src/tr/hdfilmcehennemi/src/eu/kanade/tachiyomi/animeextension/tr/hdfilmcehennemi/HDFilmCehennemi.kt index 2a2945dc69..f37e51ba4e 100644 --- a/src/tr/hdfilmcehennemi/src/eu/kanade/tachiyomi/animeextension/tr/hdfilmcehennemi/HDFilmCehennemi.kt +++ b/src/tr/hdfilmcehennemi/src/eu/kanade/tachiyomi/animeextension/tr/hdfilmcehennemi/HDFilmCehennemi.kt @@ -88,7 +88,11 @@ class HDFilmCehennemi : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } 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) } diff --git a/src/tr/hentaizm/build.gradle b/src/tr/hentaizm/build.gradle index 400447f5ac..d103d6dcdd 100644 --- a/src/tr/hentaizm/build.gradle +++ b/src/tr/hentaizm/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'HentaiZM' extClass = '.HentaiZM' - extVersionCode = 1 + extVersionCode = 2 isNsfw = true } diff --git a/src/tr/hentaizm/src/eu/kanade/tachiyomi/animeextension/tr/hentaizm/HentaiZM.kt b/src/tr/hentaizm/src/eu/kanade/tachiyomi/animeextension/tr/hentaizm/HentaiZM.kt index 0ba79b4a17..7f50107146 100644 --- a/src/tr/hentaizm/src/eu/kanade/tachiyomi/animeextension/tr/hentaizm/HentaiZM.kt +++ b/src/tr/hentaizm/src/eu/kanade/tachiyomi/animeextension/tr/hentaizm/HentaiZM.kt @@ -115,7 +115,11 @@ class HentaiZM : ParsedAnimeHttpSource(), ConfigurableAnimeSource { } 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) } diff --git a/src/tr/tranimeizle/build.gradle b/src/tr/tranimeizle/build.gradle index 6bd220f019..0aba48a242 100644 --- a/src/tr/tranimeizle/build.gradle +++ b/src/tr/tranimeizle/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'TR Anime Izle' extClass = '.TRAnimeIzle' - extVersionCode = 16 + extVersionCode = 17 } apply from: "$rootDir/common.gradle" @@ -17,4 +17,4 @@ dependencies { implementation(project(":lib:voe-extractor")) implementation(project(":lib:vudeo-extractor")) implementation(project(":lib:yourupload-extractor")) -} \ No newline at end of file +} diff --git a/src/tr/tranimeizle/src/eu/kanade/tachiyomi/animeextension/tr/tranimeizle/TRAnimeIzle.kt b/src/tr/tranimeizle/src/eu/kanade/tachiyomi/animeextension/tr/tranimeizle/TRAnimeIzle.kt index ce6c157f5f..f9a0a18fc1 100644 --- a/src/tr/tranimeizle/src/eu/kanade/tachiyomi/animeextension/tr/tranimeizle/TRAnimeIzle.kt +++ b/src/tr/tranimeizle/src/eu/kanade/tachiyomi/animeextension/tr/tranimeizle/TRAnimeIzle.kt @@ -102,7 +102,11 @@ class TRAnimeIzle : ParsedAnimeHttpSource(), ConfigurableAnimeSource { } 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) }