Mycima: fix thumbnail (#81)
This commit is contained in:
@ -5,7 +5,7 @@ ext {
|
||||
extName = 'MY CIMA'
|
||||
pkgNameSuffix = 'ar.mycima'
|
||||
extClass = '.MyCima'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
libVersion = '12'
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@ class MyCima : ParsedAnimeHttpSource() {
|
||||
|
||||
override val name = "MY Cima"
|
||||
|
||||
override val baseUrl = "https://mycima.actor:2083"
|
||||
override val baseUrl = "https://mycima.win:2083"
|
||||
|
||||
override val lang = "ar"
|
||||
|
||||
@ -41,8 +41,8 @@ class MyCima : ParsedAnimeHttpSource() {
|
||||
anime.title = element.select("a").attr("title")
|
||||
anime.thumbnail_url =
|
||||
element.select("a > span.BG--GridItem")
|
||||
.attr("data-lazy-style")
|
||||
.substringAfter("background-image:url(")
|
||||
.attr("style")
|
||||
.substringAfter("-image:url(")
|
||||
.substringBefore(");")
|
||||
return anime
|
||||
}
|
||||
@ -124,7 +124,7 @@ class MyCima : 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("data-lazy-style").substringAfter("background-image:url(").substringBefore(");")
|
||||
anime.thumbnail_url = element.select("a > span.BG--GridItem").attr("style").substringAfter("-image:url(").substringBefore(");")
|
||||
return anime
|
||||
}
|
||||
|
||||
@ -180,7 +180,7 @@ class MyCima : 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("data-lazy-style").substringAfter("background-image:url(").substringBefore(");")
|
||||
anime.thumbnail_url = element.select("a > span").attr("style").substringAfter("-image:url(").substringBefore(");")
|
||||
return anime
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,7 @@ ext {
|
||||
extName = 'MY CIMA MOVIES'
|
||||
pkgNameSuffix = 'ar.mycimamovie'
|
||||
extClass = '.MyCimaMovie'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
libVersion = '12'
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@ class MyCimaMovie : ParsedAnimeHttpSource() {
|
||||
|
||||
override val name = "MY Cima Movies"
|
||||
|
||||
override val baseUrl = "https://mycima.actor:2083"
|
||||
override val baseUrl = "https://mycima.win:2083"
|
||||
|
||||
override val lang = "ar"
|
||||
|
||||
@ -41,8 +41,8 @@ class MyCimaMovie : ParsedAnimeHttpSource() {
|
||||
anime.title = element.select("a strong.hasyear").text()
|
||||
anime.thumbnail_url =
|
||||
element.select("a > span.BG--GridItem")
|
||||
.attr("data-lazy-style")
|
||||
.substringAfter("background-image:url(")
|
||||
.attr("style")
|
||||
.substringAfter("-image:url(")
|
||||
.substringBefore(");")
|
||||
return anime
|
||||
}
|
||||
@ -106,7 +106,7 @@ class MyCimaMovie : 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("data-lazy-style").substringAfter("background-image:url(").substringBefore(");")
|
||||
anime.thumbnail_url = element.select("a > span.BG--GridItem").attr("style").substringAfter("-image:url(").substringBefore(");")
|
||||
return anime
|
||||
}
|
||||
|
||||
@ -162,7 +162,7 @@ class MyCimaMovie : 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("data-lazy-style").substringAfter("background-image:url(").substringBefore(");")
|
||||
anime.thumbnail_url = element.select("a > span").attr("style").substringAfter("-image:url(").substringBefore(");")
|
||||
return anime
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user