diff --git a/src/ar/mangahub/build.gradle b/src/ar/mangahub/build.gradle new file mode 100644 index 000000000..ca5d548dc --- /dev/null +++ b/src/ar/mangahub/build.gradle @@ -0,0 +1,10 @@ +ext { + extName = 'MangaHub' + extClass = '.MangaHub' + themePkg = 'zeistmanga' + baseUrl = 'https://www.mangahub.link' + overrideVersionCode = 0 + isNsfw = true +} + +apply from: "$rootDir/common.gradle" diff --git a/src/ar/mangahub/res/mipmap-hdpi/ic_launcher.png b/src/ar/mangahub/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..af1d62909 Binary files /dev/null and b/src/ar/mangahub/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/ar/mangahub/res/mipmap-mdpi/ic_launcher.png b/src/ar/mangahub/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..5ebc50d38 Binary files /dev/null and b/src/ar/mangahub/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/ar/mangahub/res/mipmap-xhdpi/ic_launcher.png b/src/ar/mangahub/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..1f31227e1 Binary files /dev/null and b/src/ar/mangahub/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/ar/mangahub/res/mipmap-xxhdpi/ic_launcher.png b/src/ar/mangahub/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..5d95def1d Binary files /dev/null and b/src/ar/mangahub/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/ar/mangahub/res/mipmap-xxxhdpi/ic_launcher.png b/src/ar/mangahub/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..8793867f2 Binary files /dev/null and b/src/ar/mangahub/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/ar/mangahub/src/eu/kanade/tachiyomi/extension/ar/mangahub/MangaHub.kt b/src/ar/mangahub/src/eu/kanade/tachiyomi/extension/ar/mangahub/MangaHub.kt new file mode 100644 index 000000000..6a0388963 --- /dev/null +++ b/src/ar/mangahub/src/eu/kanade/tachiyomi/extension/ar/mangahub/MangaHub.kt @@ -0,0 +1,23 @@ +package eu.kanade.tachiyomi.extension.ar.mangahub + +import eu.kanade.tachiyomi.multisrc.zeistmanga.ZeistManga +import eu.kanade.tachiyomi.network.interceptor.rateLimit + +class MangaHub : ZeistManga( + "MangaHub", + "https://www.mangahub.link", + "ar", +) { + override val client = super.client.newBuilder() + .rateLimit(3) + .build() + + override val popularMangaSelector = "div#PopularPosts2 article" + override val popularMangaSelectorTitle = "h3" + override val popularMangaSelectorUrl = "a" + + override val mangaDetailsSelector = ".grid.gap-5.gta-series" + override val mangaDetailsSelectorGenres = "dt:contains(التصنيف) + dd a[rel=tag]" + + override val pageListSelector = "article#reader .separator, div.image-container" +}