mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fixed sources GoodPorn
This commit is contained in:
parent
9f68a3b02e
commit
f62ebafe65
3 changed files with 4 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 1
|
version = 2
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
language = "en"
|
language = "en"
|
||||||
// All of these properties are optional, you can safely remove them
|
// All of these properties are optional, you can safely remove them
|
||||||
|
|
||||||
// description = "Lorem Ipsum"
|
description = "Premium porn with 4K support"
|
||||||
authors = listOf("Hexated")
|
authors = listOf("Hexated")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -4,6 +4,7 @@ import com.lagradost.cloudstream3.*
|
||||||
import com.lagradost.cloudstream3.LoadResponse.Companion.addActors
|
import com.lagradost.cloudstream3.LoadResponse.Companion.addActors
|
||||||
import com.lagradost.cloudstream3.utils.*
|
import com.lagradost.cloudstream3.utils.*
|
||||||
import org.jsoup.nodes.Element
|
import org.jsoup.nodes.Element
|
||||||
|
import java.util.*
|
||||||
|
|
||||||
class GoodPorn : MainAPI() {
|
class GoodPorn : MainAPI() {
|
||||||
override var mainUrl = "https://goodporn.to"
|
override var mainUrl = "https://goodporn.to"
|
||||||
|
@ -93,7 +94,7 @@ class GoodPorn : MainAPI() {
|
||||||
ExtractorLink(
|
ExtractorLink(
|
||||||
this.name,
|
this.name,
|
||||||
this.name,
|
this.name,
|
||||||
res.attr("href"),
|
res.attr("href").replace(Regex("\\?download\\S+.mp4&"), "?") + "&rnd=${Date().time}" ,
|
||||||
referer = data,
|
referer = data,
|
||||||
quality = Regex("([0-9]+p),").find(res.text())?.groupValues?.get(1)
|
quality = Regex("([0-9]+p),").find(res.text())?.groupValues?.get(1)
|
||||||
.let { getQualityFromName(it) },
|
.let { getQualityFromName(it) },
|
||||||
|
|
|
@ -38,7 +38,6 @@ subprojects {
|
||||||
// when running through github workflow, GITHUB_REPOSITORY should contain current repository name
|
// when running through github workflow, GITHUB_REPOSITORY should contain current repository name
|
||||||
setRepo(System.getenv("GITHUB_REPOSITORY") ?: "https://github.com/hexated/cloudstream-extensions-hexated")
|
setRepo(System.getenv("GITHUB_REPOSITORY") ?: "https://github.com/hexated/cloudstream-extensions-hexated")
|
||||||
|
|
||||||
description = "Providers from all country"
|
|
||||||
authors = listOf("Hexated")
|
authors = listOf("Hexated")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue