Madara: exclude/filter some manga from bilibili (#9877)

* Madara: exclude/filter some manga from bilibili

* some cleaning

* t
This commit is contained in:
Riztard Lanthorn 2021-11-21 22:05:40 +07:00 committed by GitHub
parent c3f8186ac6
commit 638fa8c4d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 13 deletions

View File

@ -57,7 +57,8 @@ abstract class Madara(
// Popular Manga
override fun popularMangaSelector() = "div.page-item-detail"
// exclude/filter bilibili manga from list
override fun popularMangaSelector() = "div.page-item-detail:not(:has(a[href*='bilibilicomics.com']))"
open val popularMangaUrlSelector = "div.post-title a"

View File

@ -100,7 +100,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Hades no Fansub", "https://mangareaderpro.com/es", "es"),
SingleLang("Hades no Fansub Hentai", "https://h.mangareaderpro.com", "es", isNsfw = true),
SingleLang("Hayalistic", "https://hayalistic.com", "tr"),
SingleLang("Harimanga", "https://harimanga.com/", "en"),
SingleLang("Harimanga", "https://harimanga.com", "en"),
SingleLang("Hentai20", "https://hentai20.com", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("Hentaidexy", "https://hentaidexy.com", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("Hentai Manga", "https://hentaimanga.me", "en", isNsfw = true),
@ -112,7 +112,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Hiperdex", "https://hiperdex.com", "en", isNsfw = true, overrideVersionCode = 5),
SingleLang("Hizomanga", "https://hizomanga.com", "ar"),
SingleLang("hManhwa", "https://hmanhwa.com", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("HM2D", "https://mangadistrict.com/hdoujin/", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("HM2D", "https://mangadistrict.com/hdoujin", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("Hscans", "https://hscans.com", "en", overrideVersionCode = 1),
SingleLang("Hunter Fansub", "https://hunterfansub.com", "es", overrideVersionCode = 1),
SingleLang("Ichirin No Hana Yuri", "https://ichirinnohanayuri.com.br", "pt-BR", overrideVersionCode = 3),
@ -125,7 +125,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("InstaManhwa", "https://www.instamanhwa.com", "en", isNsfw = true),
SingleLang("IsekaiScan.com", "https://isekaiscan.com", "en", className = "IsekaiScanCom", overrideVersionCode = 4),
SingleLang("IsekaiScanManga (unoriginal)", "https://isekaiscanmanga.com", "en", className = "IsekaiScanManga", overrideVersionCode = 1),
SingleLang("Its Your Right Manhua", "https://itsyourightmanhua.com/", "en", className = "ItsYourRightManhua", overrideVersionCode = 2),
SingleLang("Its Your Right Manhua", "https://itsyourightmanhua.com", "en", className = "ItsYourRightManhua", overrideVersionCode = 2),
SingleLang("JaiminisBox.net", "https://jaiminisbox.net", "en", className = "Jaiminisboxnet"),
SingleLang("Jiro Comics", "https://jirocomics.com", "en", isNsfw = true),
SingleLang("Kami Sama Explorer", "https://kamisama.com.br", "pt-BR"),
@ -146,12 +146,12 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Lolicon", "https://lolicon.mobi", "en", isNsfw = true, overrideVersionCode = 2),
SingleLang("Lord Manga", "https://lordmanga.com", "en"),
SingleLang("LovableSubs", "https://lovablesubs.com", "tr", overrideVersionCode = 1),
SingleLang("Lumine Scans", "https://luminescans.xyz/", "en", overrideVersionCode = 1),
SingleLang("Lumine Scans", "https://luminescans.xyz", "en", overrideVersionCode = 1),
SingleLang("MadaraDex", "https://madaradx.org", "en", isNsfw = true),
SingleLang("MG Komik", "https://mgkomik.com", "id", overrideVersionCode = 2),
SingleLang("MMScans", "https://mm-scans.com/", "en", overrideVersionCode = 1),
SingleLang("MMScans", "https://mm-scans.com", "en", overrideVersionCode = 1),
SingleLang("Manga Action", "https://mangaaction.com", "en", overrideVersionCode = 2),
SingleLang("Manga Bin", "https://mangabin.com/", "en", overrideVersionCode = 1),
SingleLang("Manga Bin", "https://mangabin.com", "en", overrideVersionCode = 1),
SingleLang("Manga Chill", "https://mangachill.com", "en", overrideVersionCode = 3),
SingleLang("Manga Crab", "https://mangacrab.com", "es"),
SingleLang("Manga District", "https://mangadistrict.com", "en", isNsfw = true, overrideVersionCode = 1),
@ -178,7 +178,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Manga Sky", "https://mangasky.net", "en"),
SingleLang("Manga SY", "https://www.mangasy.com", "en", overrideVersionCode = 1),
SingleLang("Manga Starz", "https://mangastarz.com", "ar", overrideVersionCode = 1),
SingleLang("Manga Too", "https://mangatoo.com/", "en", overrideVersionCode = 1),
SingleLang("Manga Too", "https://mangatoo.com", "en", overrideVersionCode = 1),
SingleLang("Manga Weebs", "https://mangaweebs.in", "en", overrideVersionCode = 5),
SingleLang("Manga-Online.co", "https://www.manga-online.co", "th", className = "MangaOnlineCo"),
SingleLang("Manga-Scantrad", "https://manga-scantrad.net", "fr", className = "MangaScantrad", overrideVersionCode = 2),
@ -360,7 +360,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Skymanga", "https://skymanga.co", "en", isNsfw = true, overrideVersionCode = 2),
SingleLang("SkyRaws", "https://skyraws.com", "en", overrideVersionCode = 1),
SingleLang("Sleeping Knight Scans", "https://skscans.com", "en", overrideVersionCode = 2),
SingleLang("Sleepy Translations", "https://sleepytranslations.com/", "en", overrideVersionCode = 1),
SingleLang("Sleepy Translations", "https://sleepytranslations.com", "en", overrideVersionCode = 1),
SingleLang("SodaScan", "https://sodascan.xyz", "pt-BR", isNsfw = true),
SingleLang("Solo Leveling", "https://readsololeveling.online", "en"),
SingleLang("StageComics", "https://stagecomics.com", "pt-BR", overrideVersionCode = 3),
@ -371,7 +371,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Tatakae Scan", "https://tatakaescan.xyz", "pt-BR", isNsfw = true),
SingleLang("TeenManhua", "https://teenmanhua.com", "en"),
SingleLang("TheFluffyHangoutGroup", "https://www.fluffyhangout.club", "en", overrideVersionCode = 2),
SingleLang("The Guild", "https://theguildscans.com/", "en"),
SingleLang("The Guild", "https://theguildscans.com", "en"),
SingleLang("Three Queens Scanlator", "https://tqscan.com.br", "pt-BR", overrideVersionCode = 3),
SingleLang("Time Naight", "https://timenaight.com", "tr"),
SingleLang("Todaymic", "https://todaymic.com", "en", overrideVersionCode = 1),
@ -388,8 +388,8 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Türkçe Manga", "https://turkcemanga.com", "tr", className = "TurkceManga", overrideVersionCode = 1),
SingleLang("Ultralight Scans", "https://readlight.org", "en"),
SingleLang("Unemployed Scans", "https://unemployedscans.com", "en", overrideVersionCode = 1),
SingleLang("Uyuyan Balik", "https://uyuyanbalik.com/", "tr", overrideVersionCode = 1),
SingleLang("Vanguard Bun", "https://vanguardbun.com/", "en", overrideVersionCode = 1),
SingleLang("Uyuyan Balik", "https://uyuyanbalik.com", "tr", overrideVersionCode = 1),
SingleLang("Vanguard Bun", "https://vanguardbun.com", "en", overrideVersionCode = 1),
SingleLang("Visbellum", "https://visbellum.com", "pt-BR", overrideVersionCode = 2),
SingleLang("Volkan Scans", "https://volkanscans.com", "en", overrideVersionCode = 1),
SingleLang("Wakamics", "https://wakamics.net", "en"),
@ -400,7 +400,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("WebToon18", "http://webtoon18.net", "en", isNsfw = true, overrideVersionCode = 2),
SingleLang("WebToon69", "https://webtoon18.com", "en", isNsfw = true),
SingleLang("WebToonily", "https://webtoonily.com", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("Webtoon Hatti", "https://webtoonhatti.com/", "tr"),
SingleLang("Webtoon Hatti", "https://webtoonhatti.com", "tr"),
SingleLang("WebtoonScan", "https://webtoonscan.com", "en", isNsfw = true),
SingleLang("WebtoonsTOP", "https://webtoons.top", "en", isNsfw = true),
SingleLang("WebtoonUK", "https://webtoon.uk", "en", overrideVersionCode = 2),