From f47d1cc635bf3ec7649af0a27fcf098fc3489ee3 Mon Sep 17 00:00:00 2001 From: phisher98 <153359846+phisher98@users.noreply.github.com> Date: Wed, 27 Mar 2024 20:46:04 +0530 Subject: [PATCH] Create EPlay EPlay Extractor --- .../lagradost/cloudstream3/extractors/EPlay | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/src/main/java/com/lagradost/cloudstream3/extractors/EPlay diff --git a/app/src/main/java/com/lagradost/cloudstream3/extractors/EPlay b/app/src/main/java/com/lagradost/cloudstream3/extractors/EPlay new file mode 100644 index 00000000..300ecf52 --- /dev/null +++ b/app/src/main/java/com/lagradost/cloudstream3/extractors/EPlay @@ -0,0 +1,20 @@ +open class EPlayExtractor : ExtractorApi() { + override var name = "EPlay" + override var mainUrl = "https://eplayvid.net/" + override val requiresReferer = true + + override suspend fun getUrl(url: String, referer: String?): List? { + val response = app.get(url).document + val trueUrl = response.select("source").attr("src") + return listOf( + ExtractorLink( + this.name, + this.name, + trueUrl, + mainUrl, + getQualityFromName(""), // this needs to be auto + false + ) + ) + } +}