my cima: fix thumbnail selectors (#158)
This commit is contained in:
@ -5,7 +5,7 @@ ext {
|
|||||||
extName = 'MY CIMA'
|
extName = 'MY CIMA'
|
||||||
pkgNameSuffix = 'ar.mycima'
|
pkgNameSuffix = 'ar.mycima'
|
||||||
extClass = '.MyCima'
|
extClass = '.MyCima'
|
||||||
extVersionCode = 5
|
extVersionCode = 6
|
||||||
libVersion = '12'
|
libVersion = '12'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ class MyCima : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
|
|
||||||
override val name = "MY Cima"
|
override val name = "MY Cima"
|
||||||
|
|
||||||
override val baseUrl = "https://mycima.win:2083"
|
override val baseUrl = "https://mycima.ws:2096"
|
||||||
|
|
||||||
override val lang = "ar"
|
override val lang = "ar"
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ class MyCima : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
anime.title = element.select("a").attr("title")
|
anime.title = element.select("a").attr("title")
|
||||||
anime.thumbnail_url =
|
anime.thumbnail_url =
|
||||||
element.select("a > span.BG--GridItem")
|
element.select("a > span.BG--GridItem")
|
||||||
.attr("style")
|
.attr("data-lazy-style")
|
||||||
.substringAfter("-image:url(")
|
.substringAfter("-image:url(")
|
||||||
.substringBefore(");")
|
.substringBefore(");")
|
||||||
return anime
|
return anime
|
||||||
@ -155,7 +155,7 @@ class MyCima : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
val anime = SAnime.create()
|
val anime = SAnime.create()
|
||||||
anime.setUrlWithoutDomain(element.select("a").attr("href"))
|
anime.setUrlWithoutDomain(element.select("a").attr("href"))
|
||||||
anime.title = element.select("a > strong.hasyear").text()
|
anime.title = element.select("a > strong.hasyear").text()
|
||||||
anime.thumbnail_url = element.select("a > span.BG--GridItem").attr("style").substringAfter("-image:url(").substringBefore(");")
|
anime.thumbnail_url = element.select("a > span.BG--GridItem").attr("data-lazy-style").substringAfter("-image:url(").substringBefore(");")
|
||||||
return anime
|
return anime
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -211,7 +211,7 @@ class MyCima : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
val anime = SAnime.create()
|
val anime = SAnime.create()
|
||||||
anime.setUrlWithoutDomain(element.select("a").attr("href"))
|
anime.setUrlWithoutDomain(element.select("a").attr("href"))
|
||||||
anime.title = element.select("a > strong.hasyear").text()
|
anime.title = element.select("a > strong.hasyear").text()
|
||||||
anime.thumbnail_url = element.select("a > span").attr("style").substringAfter("-image:url(").substringBefore(");")
|
anime.thumbnail_url = element.select("a > span").attr("data-lazy-style").substringAfter("-image:url(").substringBefore(");")
|
||||||
return anime
|
return anime
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ ext {
|
|||||||
extName = 'MY CIMA MOVIES'
|
extName = 'MY CIMA MOVIES'
|
||||||
pkgNameSuffix = 'ar.mycimamovie'
|
pkgNameSuffix = 'ar.mycimamovie'
|
||||||
extClass = '.MyCimaMovie'
|
extClass = '.MyCimaMovie'
|
||||||
extVersionCode = 4
|
extVersionCode = 5
|
||||||
libVersion = '12'
|
libVersion = '12'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ class MyCimaMovie : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
|
|
||||||
override val name = "MY Cima Movies"
|
override val name = "MY Cima Movies"
|
||||||
|
|
||||||
override val baseUrl = "https://mycima.win:2083"
|
override val baseUrl = "https://mycima.ws:2096"
|
||||||
|
|
||||||
override val lang = "ar"
|
override val lang = "ar"
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ class MyCimaMovie : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
anime.title = element.select("a strong.hasyear").text()
|
anime.title = element.select("a strong.hasyear").text()
|
||||||
anime.thumbnail_url =
|
anime.thumbnail_url =
|
||||||
element.select("a > span.BG--GridItem")
|
element.select("a > span.BG--GridItem")
|
||||||
.attr("style")
|
.attr("data-lazy-style")
|
||||||
.substringAfter("-image:url(")
|
.substringAfter("-image:url(")
|
||||||
.substringBefore(");")
|
.substringBefore(");")
|
||||||
return anime
|
return anime
|
||||||
@ -135,7 +135,7 @@ class MyCimaMovie : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
val anime = SAnime.create()
|
val anime = SAnime.create()
|
||||||
anime.setUrlWithoutDomain(element.select("a").attr("href"))
|
anime.setUrlWithoutDomain(element.select("a").attr("href"))
|
||||||
anime.title = element.select("a > strong.hasyear").text()
|
anime.title = element.select("a > strong.hasyear").text()
|
||||||
anime.thumbnail_url = element.select("a > span.BG--GridItem").attr("style").substringAfter("-image:url(").substringBefore(");")
|
anime.thumbnail_url = element.select("a > span.BG--GridItem").attr("data-lazy-style").substringAfter("-image:url(").substringBefore(");")
|
||||||
return anime
|
return anime
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -191,7 +191,7 @@ class MyCimaMovie : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
val anime = SAnime.create()
|
val anime = SAnime.create()
|
||||||
anime.setUrlWithoutDomain(element.select("a").attr("href"))
|
anime.setUrlWithoutDomain(element.select("a").attr("href"))
|
||||||
anime.title = element.select("a > strong.hasyear").text()
|
anime.title = element.select("a > strong.hasyear").text()
|
||||||
anime.thumbnail_url = element.select("a > span").attr("style").substringAfter("-image:url(").substringBefore(");")
|
anime.thumbnail_url = element.select("a > span").attr("data-lazy-style").substringAfter("-image:url(").substringBefore(");")
|
||||||
return anime
|
return anime
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user