fix akwam
This commit is contained in:
parent
932e351ff9
commit
2d40f4146f
|
@ -1,4 +1,4 @@
|
||||||
version = 1
|
version = 2
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
description = ""
|
description = ""
|
||||||
|
|
|
@ -77,9 +77,7 @@ class Akwam : 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(url).document
|
||||||
val mesEl = doc.select("#downloads > h2 > span").isNotEmpty()
|
val isMovie = doc.select("#downloads > h2 > span").isNotEmpty()//url.contains("/movie/")
|
||||||
val mesSt = if(mesEl) true else false
|
|
||||||
val isMovie = mesSt//url.contains("/movie/")
|
|
||||||
val title = doc.select("h1.entry-title").text()
|
val title = doc.select("h1.entry-title").text()
|
||||||
val posterUrl = doc.select("picture > img").attr("src")
|
val posterUrl = doc.select("picture > img").attr("src")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue