Merge remote-tracking branch 'origin/master'

This commit is contained in:
Olivia 2024-01-30 22:09:10 +07:00
commit 22bb231f2e
10 changed files with 14 additions and 27 deletions

View file

@ -1,9 +1,7 @@
package com.anon
import android.util.Log
import com.fasterxml.jackson.annotation.JsonProperty
import com.lagradost.cloudstream3.*
import com.lagradost.cloudstream3.extractors.DoodLaExtractor
import com.lagradost.cloudstream3.utils.*
@ -12,20 +10,16 @@ import com.lagradost.nicehttp.Requests
import com.lagradost.nicehttp.Session
import kotlinx.coroutines.delay
import org.jsoup.nodes.Element
import com.lagradost.cloudstream3.network.WebViewResolver
import com.lagradost.nicehttp.requestCreator
import org.jsoup.Jsoup
import java.util.regex.Pattern
import okhttp3.Interceptor
import okhttp3.Response
import okhttp3.MediaType.Companion.toMediaTypeOrNull
import com.lagradost.cloudstream3.utils.AppUtils.toJson
import com.lagradost.nicehttp.RequestBodyTypes
import okhttp3.RequestBody.Companion.toRequestBody
import com.lagradost.cloudstream3.extractors.helper.AesHelper.cryptoAESHandler
class AnimeDekhoProvider : MainAPI() {
@ -85,12 +79,10 @@ class AnimeDekhoProvider : MainAPI() {
val poster = document?.selectFirst("div.post-thumbnail figure img")?.attr("src") ?: "null"
val plot = document?.selectFirst("div.entry-content p")?.text()?.trim() ?: "null"
val year = document?.selectFirst("span.year")?.text()?.trim()?.toInt() ?: 1990
var episodes = mutableListOf<Episode>()
val items = document.select("ul.seasons-lst li").mapNotNull {
val name = it?.selectFirst("h3.title")?.text() ?: "null"
val tempstring = it?.selectFirst("a")?.attr("href") ?: "null"
episodes.add( Episode(tempstring, name) )
@ -106,6 +98,7 @@ class AnimeDekhoProvider : MainAPI() {
//this.recommendations = recommendations
}
}
else{
return newTvSeriesLoadResponse(title, url, TvType.TvSeries, episodes) {
this.posterUrl = poster.toString()
@ -113,8 +106,7 @@ class AnimeDekhoProvider : MainAPI() {
this.year = year
//this.recommendations = recommendations
}
}
}
}
override suspend fun loadLinks(
@ -142,15 +134,10 @@ class AnimeDekhoProvider : MainAPI() {
}
//Log.d("TAGNAME", "vidlink $vidlink") //https://vidxstream.xyz/v/H0Rh3ixVLJKk/
val body = app.get(vidlink).text
val master = Regex("""JScript[\w+]?\s*=\s*'([^']+)""").find(body)!!.groupValues?.get(1)
val decrypt = cryptoAESHandler(master ?: return false, "4MmH9EsZrq0WEekn".toByteArray(), false)?.replace("\\", "") ?: "ERROR"
val vidfinal = Regex("""file:\s*\"(https:[^\"]+)\"""").find(decrypt)!!.groupValues?.get(1)
val headers = mapOf(
"accept" to "*/*",

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 61
version = 62
cloudstream {

View file

@ -12,7 +12,7 @@ import org.jsoup.Jsoup
class Hdmovie2 : Movierulzhd() {
override var mainUrl = "https://hdmovie2.kim"
override var mainUrl = "https://hdmovie2.mba"
override var name = "Hdmovie2"
override val mainPage = mainPageOf(
"trending" to "Trending",

View file

@ -11,7 +11,7 @@ import java.net.URI
open class Movierulzhd : MainAPI() {
override var mainUrl = "https://movierulzhd.party"
override var mainUrl = "https://movierulzhd.cafe"
var directUrl = ""
override var name = "Movierulzhd"
override val hasMainPage = true

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 28
version = 29
cloudstream {

View file

@ -7,7 +7,7 @@ import com.lagradost.cloudstream3.utils.*
import org.jsoup.nodes.Element
class OploverzProvider : MainAPI() {
override var mainUrl = "https://oploverz.bio"
override var mainUrl = "https://oploverz.guru"
override var name = "Oploverz"
override val hasMainPage = true
override var lang = "id"

View file

@ -1,7 +1,7 @@
import org.jetbrains.kotlin.konan.properties.Properties
// use an integer for version numbers
version = 220
version = 221
android {
defaultConfig {

View file

@ -119,11 +119,11 @@ open class SoraStream : TmdbProvider() {
const val moviefictionAPI = "https://moviefiction.com"
const val fdMoviesAPI = "https://freedrivemovie.com"
const val uhdmoviesAPI = "https://uhdmovies.zip"
const val uhdmoviesAPI = "https://uhdmovies.us"
const val gMoviesAPI = "https://gdrivemovies.xyz"
const val hdmovies4uAPI = "https://hdmovies4u.dad"
const val vegaMoviesAPI = "https://vegamovies.dad"
const val dotmoviesAPI = "https://dotmovies.rsvp"
const val hdmovies4uAPI = "https://hdmovies4u.day"
const val vegaMoviesAPI = "https://vegamovies.ngo"
const val dotmoviesAPI = "https://dotmovies.dad"
const val tvMoviesAPI = "https://www.tvseriesnmovies.com"
const val dahmerMoviesAPI = "https://odd-bird-1319.zwuhygoaqe.workers.dev"

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 26
version = 27
cloudstream {

View file

@ -10,7 +10,7 @@ import org.jsoup.nodes.Element
import java.net.URI
open class YomoviesProvider : MainAPI() {
override var mainUrl = "https://yomovies.boo"
override var mainUrl = "https://yomovies.fit"
private var directUrl = ""
override var name = "Yomovies"
override val hasMainPage = true