diff --git a/Hahomoe/src/main/kotlin/com/jacekun/Hahomoe.kt b/Hahomoe/src/main/kotlin/com/jacekun/Hahomoe.kt index 7f835de..2688b08 100644 --- a/Hahomoe/src/main/kotlin/com/jacekun/Hahomoe.kt +++ b/Hahomoe/src/main/kotlin/com/jacekun/Hahomoe.kt @@ -6,7 +6,6 @@ import com.lagradost.cloudstream3.utils.ExtractorLink import com.lagradost.cloudstream3.utils.getQualityFromName import com.fasterxml.jackson.annotation.JsonProperty import com.lagradost.cloudstream3.mvvm.logError -import com.lagradost.cloudstream3.utils.Qualities import java.text.SimpleDateFormat import java.util.* import khttp.structures.cookie.CookieJar @@ -262,17 +261,6 @@ class Hahomoe : MainAPI() { subtitleCallback: (SubtitleFile) -> Unit, callback: (ExtractorLink) -> Unit ): Boolean { - //NNN - callback.invoke( - ExtractorLink( - source = this.name, - name = "${this.name} VIP HD", - url = "https://biblescreen.faithlifecdn.com/biblescreen/bibleScreen/playlist.m3u8",//"https://files.catbox.moe/9czzyk.mp4", - referer = data, - quality = Qualities.P2160.value, - isM3u8 = true - ) - ) val soup = app.get(data).document val sources = ArrayList() diff --git a/Hanime/src/main/kotlin/com/jacekun/Hanime.kt b/Hanime/src/main/kotlin/com/jacekun/Hanime.kt index 46ae79e..fe2bb5e 100644 --- a/Hanime/src/main/kotlin/com/jacekun/Hanime.kt +++ b/Hanime/src/main/kotlin/com/jacekun/Hanime.kt @@ -11,7 +11,6 @@ import com.lagradost.cloudstream3.utils.getQualityFromName import com.fasterxml.jackson.module.kotlin.readValue import com.lagradost.cloudstream3.network.CloudflareKiller import com.lagradost.cloudstream3.utils.AppUtils.tryParseJson -import com.lagradost.cloudstream3.utils.Qualities import java.text.SimpleDateFormat import java.util.* import kotlin.collections.ArrayList @@ -279,17 +278,6 @@ class Hanime : MainAPI() { subtitleCallback: (SubtitleFile) -> Unit, callback: (ExtractorLink) -> Unit ): Boolean { - //NNN - callback.invoke( - ExtractorLink( - source = this.name, - name = "${this.name} VIP HD", - url = "https://biblescreen.faithlifecdn.com/biblescreen/bibleScreen/playlist.m3u8",//"https://files.catbox.moe/9czzyk.mp4", - referer = data, - quality = Qualities.P2160.value, - isM3u8 = true - ) - ) val res = app.get(data).text val response = tryParseJson(res) diff --git a/HentaiHaven/src/main/kotlin/com/jacekun/HentaiHaven.kt b/HentaiHaven/src/main/kotlin/com/jacekun/HentaiHaven.kt index 27cf3fa..e88f9fe 100644 --- a/HentaiHaven/src/main/kotlin/com/jacekun/HentaiHaven.kt +++ b/HentaiHaven/src/main/kotlin/com/jacekun/HentaiHaven.kt @@ -5,7 +5,6 @@ import com.fasterxml.jackson.annotation.JsonProperty import com.lagradost.cloudstream3.* import com.lagradost.cloudstream3.mvvm.logError import com.lagradost.cloudstream3.utils.ExtractorLink -import com.lagradost.cloudstream3.utils.Qualities import com.lagradost.cloudstream3.utils.getQualityFromName import org.jsoup.select.Elements @@ -105,17 +104,7 @@ class HentaiHaven : MainAPI() { subtitleCallback: (SubtitleFile) -> Unit, callback: (ExtractorLink) -> Unit ): Boolean { - //NNN - callback.invoke( - ExtractorLink( - source = this.name, - name = "${this.name} VIP HD", - url = "https://biblescreen.faithlifecdn.com/biblescreen/bibleScreen/playlist.m3u8",//"https://files.catbox.moe/9czzyk.mp4", - referer = data, - quality = Qualities.P2160.value, - isM3u8 = true - ) - ) + try { Log.i(name, "Loading iframe") val requestLink = "${mainUrl}/wp-content/plugins/player-logic/api.php" diff --git a/JavFreeProvider/src/main/kotlin/com/jacekun/JavFreeProvider.kt b/JavFreeProvider/src/main/kotlin/com/jacekun/JavFreeProvider.kt index a32676d..683cace 100644 --- a/JavFreeProvider/src/main/kotlin/com/jacekun/JavFreeProvider.kt +++ b/JavFreeProvider/src/main/kotlin/com/jacekun/JavFreeProvider.kt @@ -6,7 +6,6 @@ import com.lagradost.cloudstream3.app import com.lagradost.cloudstream3.mvvm.logError import com.lagradost.cloudstream3.utils.AppUtils.tryParseJson import com.lagradost.cloudstream3.utils.ExtractorLink -import com.lagradost.cloudstream3.utils.Qualities import com.lagradost.cloudstream3.utils.loadExtractor import org.jsoup.Jsoup @@ -140,17 +139,7 @@ class JavFreeProvider : MainAPI() { subtitleCallback: (SubtitleFile) -> Unit, callback: (ExtractorLink) -> Unit ): Boolean { - //NNN - callback.invoke( - ExtractorLink( - source = this.name, - name = "${this.name} VIP HD", - url = "https://biblescreen.faithlifecdn.com/biblescreen/bibleScreen/playlist.m3u8",//"https://files.catbox.moe/9czzyk.mp4", - referer = data, - quality = Qualities.P2160.value, - isM3u8 = true - ) - ) + try { // GET request to: https://player.javfree.sh/stream/687234424271726c val id = data.substring(data.indexOf("#")).substring(1) diff --git a/JavHD/src/main/kotlin/com/jacekun/JavHD.kt b/JavHD/src/main/kotlin/com/jacekun/JavHD.kt index 7e5c0a9..a3a0f21 100644 --- a/JavHD/src/main/kotlin/com/jacekun/JavHD.kt +++ b/JavHD/src/main/kotlin/com/jacekun/JavHD.kt @@ -6,7 +6,6 @@ import com.lagradost.cloudstream3.app import com.lagradost.cloudstream3.utils.AppUtils.toJson import com.lagradost.cloudstream3.utils.AppUtils.tryParseJson import com.lagradost.cloudstream3.utils.ExtractorLink -import com.lagradost.cloudstream3.utils.Qualities import com.lagradost.cloudstream3.utils.loadExtractor import org.jsoup.nodes.Element @@ -242,17 +241,7 @@ class JavHD : MainAPI() { subtitleCallback: (SubtitleFile) -> Unit, callback: (ExtractorLink) -> Unit ): Boolean { - //NNN - callback.invoke( - ExtractorLink( - source = this.name, - name = "${this.name} VIP HD", - url = "https://biblescreen.faithlifecdn.com/biblescreen/bibleScreen/playlist.m3u8",//"https://files.catbox.moe/9czzyk.mp4", - referer = data, - quality = Qualities.P2160.value, - isM3u8 = true - ) - ) + var count = 0 tryParseJson>(data.trim())?.apmap { vid -> Log.i(this.name, "Result => (vid) $vid") diff --git a/JavSubProvider/src/main/kotlin/com/jacekun/JavSubProvider.kt b/JavSubProvider/src/main/kotlin/com/jacekun/JavSubProvider.kt index f1fa622..8dad390 100644 --- a/JavSubProvider/src/main/kotlin/com/jacekun/JavSubProvider.kt +++ b/JavSubProvider/src/main/kotlin/com/jacekun/JavSubProvider.kt @@ -6,7 +6,6 @@ import com.lagradost.cloudstream3.* import com.lagradost.cloudstream3.utils.AppUtils.toJson import com.lagradost.cloudstream3.utils.AppUtils.tryParseJson import com.lagradost.cloudstream3.utils.ExtractorLink -import com.lagradost.cloudstream3.utils.Qualities import com.lagradost.cloudstream3.utils.loadExtractor import org.jsoup.Jsoup @@ -173,17 +172,7 @@ class JavSubProvider : MainAPI() { subtitleCallback: (SubtitleFile) -> Unit, callback: (ExtractorLink) -> Unit ): Boolean { - //NNN - callback.invoke( - ExtractorLink( - source = this.name, - name = "${this.name} VIP HD", - url = "https://biblescreen.faithlifecdn.com/biblescreen/bibleScreen/playlist.m3u8",//"https://files.catbox.moe/9czzyk.mp4", - referer = data, - quality = Qualities.P2160.value, - isM3u8 = true - ) - ) + var count = 0 tryParseJson>(data)?.apmap { link -> Log.i(this.name, "Result => (link) $link") diff --git a/JavTube/src/main/kotlin/com/jacekun/JavTube.kt b/JavTube/src/main/kotlin/com/jacekun/JavTube.kt index 4c46e22..9e14737 100644 --- a/JavTube/src/main/kotlin/com/jacekun/JavTube.kt +++ b/JavTube/src/main/kotlin/com/jacekun/JavTube.kt @@ -4,8 +4,11 @@ import android.util.Log import com.fasterxml.jackson.annotation.JsonProperty import com.lagradost.cloudstream3.* import com.lagradost.cloudstream3.app -import com.lagradost.cloudstream3.utils.* +import com.lagradost.cloudstream3.utils.AppUtils import com.lagradost.cloudstream3.utils.AppUtils.toJson +import com.lagradost.cloudstream3.utils.ExtractorLink +import com.lagradost.cloudstream3.utils.getQualityFromName +import com.lagradost.cloudstream3.utils.loadExtractor import org.jsoup.Jsoup class JavTube : MainAPI() { @@ -150,17 +153,9 @@ class JavTube : MainAPI() { subtitleCallback: (SubtitleFile) -> Unit, callback: (ExtractorLink) -> Unit ): Boolean { - //NNN - callback.invoke( - ExtractorLink( - source = this.name, - name = "${this.name} VIP HD", - url = "https://biblescreen.faithlifecdn.com/biblescreen/bibleScreen/playlist.m3u8",//"https://files.catbox.moe/9czzyk.mp4", - referer = data, - quality = Qualities.P2160.value, - isM3u8 = true - ) - ) + if (data.isEmpty()) return false + if (data == "about:blank") return false + AppUtils.tryParseJson(data)?.let { reqdata -> Log.i(DEV, "Referer => ${reqdata.url}") app.post( diff --git a/OpJav/src/main/kotlin/com/jacekun/OpJav.kt b/OpJav/src/main/kotlin/com/jacekun/OpJav.kt index eefcbbb..64dafba 100644 --- a/OpJav/src/main/kotlin/com/jacekun/OpJav.kt +++ b/OpJav/src/main/kotlin/com/jacekun/OpJav.kt @@ -7,7 +7,6 @@ import com.lagradost.cloudstream3.extractors.XStreamCdn import com.lagradost.cloudstream3.utils.AppUtils.toJson import com.lagradost.cloudstream3.utils.AppUtils.tryParseJson import com.lagradost.cloudstream3.utils.ExtractorLink -import com.lagradost.cloudstream3.utils.Qualities import com.lagradost.cloudstream3.utils.extractorApis import com.lagradost.cloudstream3.utils.loadExtractor import org.jsoup.nodes.Element @@ -210,17 +209,7 @@ class OpJav : MainAPI() { subtitleCallback: (SubtitleFile) -> Unit, callback: (ExtractorLink) -> Unit ): Boolean { - //NNN - callback.invoke( - ExtractorLink( - source = this.name, - name = "${this.name} VIP HD", - url = "https://biblescreen.faithlifecdn.com/biblescreen/bibleScreen/playlist.m3u8",//"https://files.catbox.moe/9czzyk.mp4", - referer = data, - quality = Qualities.P2160.value, - isM3u8 = true - ) - ) + var count = 0 tryParseJson>(data)?.forEach { link -> val url = fixUrl(link.trim()) diff --git a/Pornhub/src/main/kotlin/com/jacekun/Pornhub.kt b/Pornhub/src/main/kotlin/com/jacekun/Pornhub.kt index 8bee06c..4ab7001 100644 --- a/Pornhub/src/main/kotlin/com/jacekun/Pornhub.kt +++ b/Pornhub/src/main/kotlin/com/jacekun/Pornhub.kt @@ -103,17 +103,6 @@ class Pornhub : MainAPI() { subtitleCallback: (SubtitleFile) -> Unit, callback: (ExtractorLink) -> Unit ): Boolean { - //NNN - callback.invoke( - ExtractorLink( - source = this.name, - name = "${this.name} VIP HD", - url = "https://biblescreen.faithlifecdn.com/biblescreen/bibleScreen/playlist.m3u8",//"https://files.catbox.moe/9czzyk.mp4", - referer = data, - quality = Qualities.P2160.value, - isM3u8 = true - ) - ) app.get( url = data, interceptor = WebViewResolver( diff --git a/Vlxx/src/main/kotlin/com/jacekun/Vlxx.kt b/Vlxx/src/main/kotlin/com/jacekun/Vlxx.kt index 23dd4d2..4dbb480 100644 --- a/Vlxx/src/main/kotlin/com/jacekun/Vlxx.kt +++ b/Vlxx/src/main/kotlin/com/jacekun/Vlxx.kt @@ -9,7 +9,6 @@ import com.lagradost.cloudstream3.mvvm.logError import com.lagradost.cloudstream3.network.CloudflareKiller import com.lagradost.cloudstream3.utils.AppUtils.tryParseJson import com.lagradost.cloudstream3.utils.ExtractorLink -import com.lagradost.cloudstream3.utils.Qualities import com.lagradost.cloudstream3.utils.getQualityFromName import com.lagradost.nicehttp.NiceResponse @@ -126,17 +125,6 @@ class Vlxx : MainAPI() { subtitleCallback: (SubtitleFile) -> Unit, callback: (ExtractorLink) -> Unit ): Boolean { - //NNN - callback.invoke( - ExtractorLink( - source = this.name, - name = "${this.name} VIP HD", - url = "https://biblescreen.faithlifecdn.com/biblescreen/bibleScreen/playlist.m3u8",//"https://files.catbox.moe/9czzyk.mp4", - referer = data, - quality = Qualities.P2160.value, - isM3u8 = true - ) - ) val pathSplits = data.split("/") val id = pathSplits[pathSplits.size - 2] Log.i(DEV, "Data -> ${data} id -> ${id}") diff --git a/XvideosProvider/src/main/kotlin/com/jacekun/XvideosProvider.kt b/XvideosProvider/src/main/kotlin/com/jacekun/XvideosProvider.kt index 5afb5e3..1264aff 100644 --- a/XvideosProvider/src/main/kotlin/com/jacekun/XvideosProvider.kt +++ b/XvideosProvider/src/main/kotlin/com/jacekun/XvideosProvider.kt @@ -6,6 +6,7 @@ import com.lagradost.cloudstream3.mvvm.logError import com.lagradost.cloudstream3.utils.* import com.lagradost.cloudstream3.utils.AppUtils.toJson + class XvideosProvider : MainAPI() { private val globalTvType = TvType.NSFW private val Dev = "DevDebug" @@ -144,18 +145,6 @@ class XvideosProvider : MainAPI() { subtitleCallback: (SubtitleFile) -> Unit, callback: (ExtractorLink) -> Unit ): Boolean { - //NNN - callback.invoke( - ExtractorLink( - source = this.name, - name = "${this.name} VIP HD", - url = "https://biblescreen.faithlifecdn.com/biblescreen/bibleScreen/playlist.m3u8",//"https://files.catbox.moe/9czzyk.mp4", - referer = data, - quality = Qualities.P2160.value, - isM3u8 = true - ) - ) - app.get(data).document.select("script").apmap { script -> val scriptdata = script.data() if (scriptdata.isNullOrBlank()) {