Italian providers fixes and improvements (#47)

This commit is contained in:
antonydp 2022-12-07 00:35:00 +01:00 committed by GitHub
parent 03539a408b
commit b4366f6368
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 1389 additions and 326 deletions

View file

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

View file

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