no egybest
This commit is contained in:
parent
8164950b7a
commit
c7bd8bf973
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
version = 7
|
version = 7
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
description = "If links do not load, try again"
|
description = "Egybest is broken"
|
||||||
authors = listOf( "ImZaw" )
|
authors = listOf( "ImZaw" )
|
||||||
|
|
||||||
language = "ar"
|
language = "ar"
|
||||||
|
|
|
@ -118,7 +118,7 @@ class EgyBest : MainAPI() {
|
||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun load(url: String): LoadResponse {
|
override suspend fun load(url: String): LoadResponse {
|
||||||
val doc = app.get(url).document
|
val doc = app.get(mainUrl + url).document
|
||||||
val isMovie = Regex(".*/movie/.*|.*/masrahiya/.*").matches(url)
|
val isMovie = Regex(".*/movie/.*|.*/masrahiya/.*").matches(url)
|
||||||
val posterUrl = doc.select("div.movie_img a img")?.attr("src")
|
val posterUrl = doc.select("div.movie_img a img")?.attr("src")
|
||||||
val year = doc.select("div.movie_title h1 a")?.text()?.toIntOrNull()
|
val year = doc.select("div.movie_title h1 a")?.text()?.toIntOrNull()
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
rootProject.name = "CloudstreamExtensionsArabic"
|
rootProject.name = "CloudstreamExtensionsArabic"
|
||||||
|
|
||||||
val disabled = listOf<String>("EgyBestProvider")
|
val disabled = listOf<String>()
|
||||||
|
|
||||||
File(rootDir, ".").eachDir { dir ->
|
File(rootDir, ".").eachDir { dir ->
|
||||||
if (!disabled.contains(dir.name) && File(dir, "build.gradle.kts").exists()) {
|
if (!disabled.contains(dir.name) && File(dir, "build.gradle.kts").exists()) {
|
||||||
|
|
Loading…
Reference in a new issue