Skip to content

Commit

Permalink
anime4up, xsanime, xsmovies: some fixes (aniyomiorg#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedgamal17 authored Aug 12, 2022
1 parent 589bde3 commit e8d5379
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/ar/anime4up/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ext {
extName = 'Anime4up'
pkgNameSuffix = 'ar.anime4up'
extClass = '.Anime4Up'
extVersionCode = 29
extVersionCode = 30
libVersion = '13'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Anime4Up : ConfigurableAnimeSource, ParsedAnimeHttpSource() {

override val name = "Anime4Up"

override val baseUrl = "https://anime4up.art"
override val baseUrl = "https://anime4up.vip"

override val lang = "ar"

Expand All @@ -44,7 +44,7 @@ class Anime4Up : ConfigurableAnimeSource, ParsedAnimeHttpSource() {

override fun headersBuilder(): Headers.Builder {
return super.headersBuilder()
.add("Referer", "https://anime4up.art/") // https://s12.gemzawy.com https://moshahda.net
.add("Referer", "https://anime4up.vip/") // https://s12.gemzawy.com https://moshahda.net
}

// Popular
Expand Down
2 changes: 1 addition & 1 deletion src/ar/xsanime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ext {
extName = 'XS Anime'
pkgNameSuffix = 'ar.xsanime'
extClass = '.XsAnime'
extVersionCode = 9
extVersionCode = 10
libVersion = '13'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class XsAnime : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
val anime = SAnime.create()
anime.setUrlWithoutDomain(element.attr("href"))
anime.title = element.attr("title")
anime.thumbnail_url = element.select("div.itemtype_anime_poster img").first().attr("abs:src")
anime.thumbnail_url = element.select("div.itemtype_anime_poster img").first().attr("data-src")
return anime
}

Expand Down Expand Up @@ -103,7 +103,7 @@ class XsAnime : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
val anime = SAnime.create()
anime.setUrlWithoutDomain(element.attr("href"))
anime.title = element.attr("title")
anime.thumbnail_url = element.select("div.itemtype_anime_poster img").first().attr("abs:src")
anime.thumbnail_url = element.select("div.itemtype_anime_poster img").first().attr("data-src")
return anime
}

Expand Down
2 changes: 1 addition & 1 deletion src/ar/xsmovie/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ext {
extName = 'XS Movie'
pkgNameSuffix = 'ar.xsmovie'
extClass = '.XsMovie'
extVersionCode = 4
extVersionCode = 5
libVersion = '13'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class XsMovie : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
val anime = SAnime.create()
anime.setUrlWithoutDomain(element.attr("href"))
anime.title = element.attr("title")
anime.thumbnail_url = element.select("div.itemtype_anime_poster img").first().attr("abs:src")
anime.thumbnail_url = element.select("div.itemtype_anime_poster img").first().attr("data-src")
return anime
}

Expand Down Expand Up @@ -91,7 +91,7 @@ class XsMovie : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
val anime = SAnime.create()
anime.setUrlWithoutDomain(element.attr("href"))
anime.title = element.attr("title")
anime.thumbnail_url = element.select("div.itemtype_anime_poster img").first().attr("abs:src")
anime.thumbnail_url = element.select("div.itemtype_anime_poster img").first().attr("data-src")
return anime
}

Expand Down

0 comments on commit e8d5379

Please sign in to comment.