From bacfbceec542ef5faa37b73f58babb83536ab800 Mon Sep 17 00:00:00 2001 From: imper1aldev <23511335+imper1aldev@users.noreply.github.com> Date: Thu, 28 Mar 2024 15:11:59 -0600 Subject: [PATCH 1/7] DoramasFlix fixed --- src/es/doramasflix/build.gradle | 2 +- .../kanade/tachiyomi/animeextension/es/doramasflix/DataModel.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/es/doramasflix/build.gradle b/src/es/doramasflix/build.gradle index 56f221bdb6..8f65940b3e 100644 --- a/src/es/doramasflix/build.gradle +++ b/src/es/doramasflix/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Doramasflix' extClass = '.Doramasflix' - extVersionCode = 18 + extVersionCode = 19 } apply from: "$rootDir/common.gradle" diff --git a/src/es/doramasflix/src/eu/kanade/tachiyomi/animeextension/es/doramasflix/DataModel.kt b/src/es/doramasflix/src/eu/kanade/tachiyomi/animeextension/es/doramasflix/DataModel.kt index 2614f31875..0d9695f7b3 100644 --- a/src/es/doramasflix/src/eu/kanade/tachiyomi/animeextension/es/doramasflix/DataModel.kt +++ b/src/es/doramasflix/src/eu/kanade/tachiyomi/animeextension/es/doramasflix/DataModel.kt @@ -139,7 +139,7 @@ data class Item( val cast: List = emptyList(), val names: String?, val overview: String?, - val languages: List = emptyList(), + val languages: List? = emptyList(), @SerialName("created_by") val createdBy: List = emptyList(), val popularity: Double?, From 908f190ba47427bd0350c62d76579406293c7221 Mon Sep 17 00:00:00 2001 From: imper1aldev <23511335+imper1aldev@users.noreply.github.com> Date: Thu, 28 Mar 2024 15:11:59 -0600 Subject: [PATCH 2/7] DoramasFlix fixed --- src/es/doramasflix/build.gradle | 2 +- .../kanade/tachiyomi/animeextension/es/doramasflix/DataModel.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/es/doramasflix/build.gradle b/src/es/doramasflix/build.gradle index 56f221bdb6..8f65940b3e 100644 --- a/src/es/doramasflix/build.gradle +++ b/src/es/doramasflix/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Doramasflix' extClass = '.Doramasflix' - extVersionCode = 18 + extVersionCode = 19 } apply from: "$rootDir/common.gradle" diff --git a/src/es/doramasflix/src/eu/kanade/tachiyomi/animeextension/es/doramasflix/DataModel.kt b/src/es/doramasflix/src/eu/kanade/tachiyomi/animeextension/es/doramasflix/DataModel.kt index 2614f31875..0d9695f7b3 100644 --- a/src/es/doramasflix/src/eu/kanade/tachiyomi/animeextension/es/doramasflix/DataModel.kt +++ b/src/es/doramasflix/src/eu/kanade/tachiyomi/animeextension/es/doramasflix/DataModel.kt @@ -139,7 +139,7 @@ data class Item( val cast: List = emptyList(), val names: String?, val overview: String?, - val languages: List = emptyList(), + val languages: List? = emptyList(), @SerialName("created_by") val createdBy: List = emptyList(), val popularity: Double?, From 617f09c4425be838ca46f2703c7251fb7cfe635b Mon Sep 17 00:00:00 2001 From: imper1aldev <23511335+imper1aldev@users.noreply.github.com> Date: Sat, 6 Apr 2024 02:36:37 -0600 Subject: [PATCH 3/7] Jkanime fixed --- src/es/jkanime/build.gradle | 6 +- .../animeextension/es/jkanime/Jkanime.kt | 93 ++++++++++++++----- .../es/jkanime/extractors/JkanimeExtractor.kt | 10 ++ 3 files changed, 86 insertions(+), 23 deletions(-) diff --git a/src/es/jkanime/build.gradle b/src/es/jkanime/build.gradle index 9e256a163d..947b682b7d 100644 --- a/src/es/jkanime/build.gradle +++ b/src/es/jkanime/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Jkanime' extClass = '.Jkanime' - extVersionCode = 19 + extVersionCode = 20 } apply from: "$rootDir/common.gradle" @@ -10,4 +10,8 @@ dependencies { implementation(project(':lib:okru-extractor')) implementation(project(':lib:mixdrop-extractor')) implementation(project(':lib:streamwish-extractor')) + implementation(project(':lib:mp4upload-extractor')) + implementation(project(':lib:filemoon-extractor')) + implementation(project(':lib:streamtape-extractor')) + implementation(project(':lib:voe-extractor')) } diff --git a/src/es/jkanime/src/eu/kanade/tachiyomi/animeextension/es/jkanime/Jkanime.kt b/src/es/jkanime/src/eu/kanade/tachiyomi/animeextension/es/jkanime/Jkanime.kt index 3ee0a64a97..e09381f459 100644 --- a/src/es/jkanime/src/eu/kanade/tachiyomi/animeextension/es/jkanime/Jkanime.kt +++ b/src/es/jkanime/src/eu/kanade/tachiyomi/animeextension/es/jkanime/Jkanime.kt @@ -2,6 +2,7 @@ package eu.kanade.tachiyomi.animeextension.es.jkanime import android.app.Application import android.content.SharedPreferences +import android.util.Base64 import androidx.preference.ListPreference import androidx.preference.PreferenceScreen import eu.kanade.tachiyomi.animeextension.es.jkanime.extractors.JkanimeExtractor @@ -13,11 +14,18 @@ import eu.kanade.tachiyomi.animesource.model.SAnime import eu.kanade.tachiyomi.animesource.model.SEpisode import eu.kanade.tachiyomi.animesource.model.Video import eu.kanade.tachiyomi.animesource.online.ParsedAnimeHttpSource +import eu.kanade.tachiyomi.lib.filemoonextractor.FilemoonExtractor import eu.kanade.tachiyomi.lib.mixdropextractor.MixDropExtractor +import eu.kanade.tachiyomi.lib.mp4uploadextractor.Mp4uploadExtractor import eu.kanade.tachiyomi.lib.okruextractor.OkruExtractor +import eu.kanade.tachiyomi.lib.streamtapeextractor.StreamTapeExtractor import eu.kanade.tachiyomi.lib.streamwishextractor.StreamWishExtractor +import eu.kanade.tachiyomi.lib.voeextractor.VoeExtractor import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.util.asJsoup +import eu.kanade.tachiyomi.util.parallelCatchingFlatMapBlocking +import eu.kanade.tachiyomi.util.parseAs +import kotlinx.serialization.Serializable import okhttp3.Request import okhttp3.Response import org.jsoup.nodes.Document @@ -49,13 +57,15 @@ class Jkanime : ConfigurableAnimeSource, ParsedAnimeHttpSource() { private val QUALITY_LIST = arrayOf("1080", "720", "480", "360") private const val PREF_SERVER_KEY = "preferred_server" - private const val PREF_SERVER_DEFAULT = "Nozomi" + private const val PREF_SERVER_DEFAULT = "Voe" private val SERVER_LIST = arrayOf( "Okru", "Mixdrop", "StreamWish", - "Xtreme S", - "HentaiJk", + "Filemoon", + "Mp4Upload", + "StreamTape", + "Desuka", "Nozomi", "Desu", ) @@ -114,33 +124,64 @@ class Jkanime : ConfigurableAnimeSource, ParsedAnimeHttpSource() { override fun episodeFromElement(element: Element) = throw UnsupportedOperationException() - override fun videoListParse(response: Response): List