fix akwam

This commit is contained in:
sp0nge 2023-01-30 12:04:49 +01:00
parent 932e351ff9
commit 2d40f4146f
2 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
version = 1
version = 2
cloudstream {
description = ""

View File

@ -77,9 +77,7 @@ class Akwam : MainAPI() {
override suspend fun load(url: String): LoadResponse {
val doc = app.get(url).document
val mesEl = doc.select("#downloads > h2 > span").isNotEmpty()
val mesSt = if(mesEl) true else false
val isMovie = mesSt//url.contains("/movie/")
val isMovie = doc.select("#downloads > h2 > span").isNotEmpty()//url.contains("/movie/")
val title = doc.select("h1.entry-title").text()
val posterUrl = doc.select("picture > img").attr("src")