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