update italian providers

This commit is contained in:
antonydp 2022-11-02 15:04:46 +01:00 committed by GitHub
parent 0cca6c7f92
commit 3a510a2153
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View file

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

View file

@ -9,7 +9,7 @@ import com.lagradost.cloudstream3.utils.AppUtils.html
class AltadefinizioneProvider : MainAPI() { class AltadefinizioneProvider : MainAPI() {
override var lang = "it" override var lang = "it"
override var mainUrl = "https://altadefinizione.clinic" override var mainUrl = "https://altadefinizione.camera"
override var name = "Altadefinizione" override var name = "Altadefinizione"
override val hasMainPage = true override val hasMainPage = true
override val hasChromecastSupport = true override val hasChromecastSupport = true

View file

@ -16,7 +16,7 @@ cloudstream {
* 2: Slow * 2: Slow
* 3: Beta only * 3: Beta only
* */ * */
status = 1 // will be 3 if unspecified status = 0 // will be 3 if unspecified
tvTypes = listOf( tvTypes = listOf(
"TvSeries}", "TvSeries}",
"TvSeries", "TvSeries",

View file

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

View file

@ -9,7 +9,7 @@ import com.lagradost.cloudstream3.network.CloudflareKiller
class TantifilmProvider : MainAPI() { class TantifilmProvider : MainAPI() {
override var lang = "it" override var lang = "it"
override var mainUrl = "https://tantifilm.yachts" override var mainUrl = "https://tantifilm.tattoo"
override var name = "Tantifilm" override var name = "Tantifilm"
override val hasMainPage = true override val hasMainPage = true
override val hasChromecastSupport = true override val hasChromecastSupport = true
@ -52,7 +52,7 @@ class TantifilmProvider : MainAPI() {
override suspend fun search(query: String): List<SearchResponse> { override suspend fun search(query: String): List<SearchResponse> {
val queryformatted = query.replace(" ", "+") val queryformatted = query.replace(" ", "+")
val url = "$mainUrl/search/$queryformatted" val url = "$mainUrl/?s=$queryformatted"
val doc = app.get(url, interceptor = interceptor).document val doc = app.get(url, interceptor = interceptor).document
return doc.select("div.film.film-2").map { return doc.select("div.film.film-2").map {