added Anizm & Hdfilmcehennemi (Turkish) (#17)

* added Anizm & Hdfilmcehennemi

* changes Dramaid domain
This commit is contained in:
Hexated 2022-09-05 06:13:58 +07:00 committed by GitHub
parent b0905c3c68
commit 0bfba1ba5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 500 additions and 15 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 1
version = 2
cloudstream {
@ -7,7 +7,7 @@ cloudstream {
// All of these properties are optional, you can safely remove them
// description = "Lorem Ipsum"
// authors = listOf("Cloudburst")
authors = listOf("Hexated")
/**
* Status int as the following:

View file

@ -157,7 +157,7 @@ class NontonAnimeIDProvider : MainAPI() {
val type = getType(document.select("span.typeseries").text().trim())
val rating = document.select("span.nilaiseries").text().trim().toIntOrNull()
val description = document.select(".entry-content.seriesdesc > p").text().trim()
val trailer = document.selectFirst("iframe#traileryt")?.attr("data-src")
val trailer = document.selectFirst("a.trailerbutton")?.attr("href")
val episodes = if (document.select("button.buttfilter").isNotEmpty()) {
val id = document.select("input[name=series_id]").attr("value")