From e8d5379559023ded617e537b4276900118c71ea1 Mon Sep 17 00:00:00 2001 From: Ahmed gamal <12355.ahmedgamal.com@gmail.com> Date: Fri, 12 Aug 2022 16:50:17 +0200 Subject: [PATCH] anime4up, xsanime, xsmovies: some fixes (#759) --- src/ar/anime4up/build.gradle | 2 +- .../kanade/tachiyomi/animeextension/ar/anime4up/Anime4Up.kt | 4 ++-- src/ar/xsanime/build.gradle | 2 +- .../eu/kanade/tachiyomi/animeextension/ar/xsanime/XsAnime.kt | 4 ++-- src/ar/xsmovie/build.gradle | 2 +- .../eu/kanade/tachiyomi/animeextension/ar/xsmovie/XsMovie.kt | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/ar/anime4up/build.gradle b/src/ar/anime4up/build.gradle index 18f9c9e728..6fef1265c4 100644 --- a/src/ar/anime4up/build.gradle +++ b/src/ar/anime4up/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Anime4up' pkgNameSuffix = 'ar.anime4up' extClass = '.Anime4Up' - extVersionCode = 29 + extVersionCode = 30 libVersion = '13' } diff --git a/src/ar/anime4up/src/eu/kanade/tachiyomi/animeextension/ar/anime4up/Anime4Up.kt b/src/ar/anime4up/src/eu/kanade/tachiyomi/animeextension/ar/anime4up/Anime4Up.kt index 27981c481e..01c496fb31 100644 --- a/src/ar/anime4up/src/eu/kanade/tachiyomi/animeextension/ar/anime4up/Anime4Up.kt +++ b/src/ar/anime4up/src/eu/kanade/tachiyomi/animeextension/ar/anime4up/Anime4Up.kt @@ -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" @@ -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 diff --git a/src/ar/xsanime/build.gradle b/src/ar/xsanime/build.gradle index 3224307207..8fdde72e68 100644 --- a/src/ar/xsanime/build.gradle +++ b/src/ar/xsanime/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'XS Anime' pkgNameSuffix = 'ar.xsanime' extClass = '.XsAnime' - extVersionCode = 9 + extVersionCode = 10 libVersion = '13' } diff --git a/src/ar/xsanime/src/eu/kanade/tachiyomi/animeextension/ar/xsanime/XsAnime.kt b/src/ar/xsanime/src/eu/kanade/tachiyomi/animeextension/ar/xsanime/XsAnime.kt index c4afa8adf3..436cb9fc07 100644 --- a/src/ar/xsanime/src/eu/kanade/tachiyomi/animeextension/ar/xsanime/XsAnime.kt +++ b/src/ar/xsanime/src/eu/kanade/tachiyomi/animeextension/ar/xsanime/XsAnime.kt @@ -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 } @@ -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 } diff --git a/src/ar/xsmovie/build.gradle b/src/ar/xsmovie/build.gradle index 13f5ce323e..8ed0506298 100644 --- a/src/ar/xsmovie/build.gradle +++ b/src/ar/xsmovie/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'XS Movie' pkgNameSuffix = 'ar.xsmovie' extClass = '.XsMovie' - extVersionCode = 4 + extVersionCode = 5 libVersion = '13' } diff --git a/src/ar/xsmovie/src/eu/kanade/tachiyomi/animeextension/ar/xsmovie/XsMovie.kt b/src/ar/xsmovie/src/eu/kanade/tachiyomi/animeextension/ar/xsmovie/XsMovie.kt index 8eff1cb023..725d8d4269 100644 --- a/src/ar/xsmovie/src/eu/kanade/tachiyomi/animeextension/ar/xsmovie/XsMovie.kt +++ b/src/ar/xsmovie/src/eu/kanade/tachiyomi/animeextension/ar/xsmovie/XsMovie.kt @@ -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 } @@ -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 }