Compare commits

..

No commits in common. "dd74d87cd84927d8da5260a3324123be01867701" and "895dfb7d5f0dcf41ba62cdc1eb3f9373184e8649" have entirely different histories.

7 changed files with 8 additions and 44 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 7
version = 6
cloudstream {

View file

@ -77,7 +77,6 @@ class EneyidaProvider : MainAPI() {
val fullInfo = document.select(".full_info li")
val title = document.selectFirst("div.full_header-title h1")?.text()?.trim().toString()
val poster = mainUrl + document.selectFirst(".full_content-poster img")?.attr("src")
val banner = document.select(".full_header__bg-img").attr("style").substringAfterLast("url(").substringBefore(");")
val tags = fullInfo[1].select("a").map { it.text() }
val year = fullInfo[0].select("a").text().toIntOrNull()
val playerUrl = document.select(".tabs_b.visible iframe").attr("src")
@ -117,7 +116,6 @@ class EneyidaProvider : MainAPI() {
}
newTvSeriesLoadResponse(title, url, TvType.TvSeries, episodes) {
this.posterUrl = poster
this.backgroundPosterUrl = banner
this.year = year
this.plot = description
this.tags = tags
@ -129,7 +127,6 @@ class EneyidaProvider : MainAPI() {
} else { // Parse as Movie.
newMovieLoadResponse(title, url, TvType.Movie, "$title, $playerUrl") {
this.posterUrl = poster
this.backgroundPosterUrl = banner
this.year = year
this.plot = description
this.tags = tags

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 7
version = 6
dependencies{
implementation("com.google.code.gson:gson:2.9.0")

View file

@ -25,7 +25,6 @@ import com.lagradost.cloudstream3.toRatingInt
import com.lagradost.cloudstream3.utils.ExtractorLink
import com.lagradost.cloudstream3.utils.M3u8Helper
import com.lagradost.models.PlayerJson
import com.lagradost.models.Search
import org.jsoup.nodes.Element
@ -39,7 +38,7 @@ class HigoTVProvider : MainAPI() {
override val hasDownloadSupport = true
override val supportedTypes = setOf(TvType.Anime)
private val searchUrl = "$mainUrl/search?query="
private val searchUrl = "https://higotv.fun/search/doSearch"
// Sections
override val mainPage =
@ -63,7 +62,6 @@ class HigoTVProvider : MainAPI() {
private val ratingSelector = ".rt-tb"
private val listPlayer = object : TypeToken<List<PlayerJson>>() {}.type
private val listSearch = object : TypeToken<List<Search>>() {}.type
private val TAG = "$name-Debug"
@ -92,14 +90,9 @@ class HigoTVProvider : MainAPI() {
}
override suspend fun search(query: String): List<SearchResponse> {
val document = app.get(searchUrl + query).text
return gson.fromJson<List<Search>>(document, listSearch).map {
newAnimeSearchResponse(it.name, "$mainUrl/movies/view/${it.slug}", TvType.Anime) {
// this.otherName = engTitle
this.posterUrl = it.poster
addDubStatus(isDub = true)
}
}
val document = app.post(url = searchUrl, data = mapOf("keyword" to query)).document
return document.select(animeSelector).map { it.toSearchResponse() }
}
// Detailed information

View file

@ -1,26 +0,0 @@
package com.lagradost.models
data class Search (
val id : Int,
val slug : String,
val name : String,
val longname : String,
val engname : String,
val age : String,
val genre : String,
val year : Int,
val add_date : String,
val country : String,
val flagicon : String,
val regiser : String,
val studio : String,
val serii : String,
val stan : String,
val rating : Int,
val description : String,
val info_pro_anime : String,
val poster : String,
val trailer : String,
val typeofanime : String,
)

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 5
version = 4
cloudstream {

View file

@ -24,7 +24,7 @@ import org.jsoup.nodes.Element
class KinoTronProvider : MainAPI() {
// Basic Info
override var mainUrl = "https://kinotron.tv"
override var mainUrl = "https://kinotron.top"
override var name = "KinoTron"
override val hasMainPage = true
override var lang = "uk"