mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
Italian providers fixes and improvements (#47)
This commit is contained in:
parent
03539a408b
commit
b4366f6368
26 changed files with 1389 additions and 326 deletions
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 2
|
||||
version = 3
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue