Fixing Rh2PlusManga after madara update (#9896)

* Add MikuDoujin
* Add MikuDoujin V.1.2.1

* Update MikuDoujin.kt

* Update MikuDoujin
* Add ability to search using genre

* Add Rh2PlusManga
* Add Rh2PlusManga V.1.12.2
* Use Madara multi-source themes

* Change MikuDoujin gradle and Add Rh2PlusManga generator.
* update file to suggestion.
* add Rh2PlusManga to MadaraGenerator.kt.

* Fix Thai Madara source time format and MikuDoujin pages selector.
* add Thai relative time wordlist to Madara parseRelativeDate.
* change Rh2PlusManga and Mangauptocat date format.
* change Mangauptocat base url.
* change MikuDoujin pageListParse selector.

* Fix MikuDoujin Chapter number.
* fix MikuDoujin when try to fetch chapter name with non numeric ending word.

* Add MangaDeemak Source.
* add MangaDeemak source to madara multisrc.

* Fix Mikudoujin when open Manga with Non single chapter.
* scrap both data-src and src attribute from img if available.

* Fix Rh2PlusManga unable to fetch page after update

Fix Rh2PlusManga error to fetch page after Madara update

* Update Rh2PlusManga Version after fixing
This commit is contained in:
Promchai Chooseang 2021-11-22 23:12:52 +07:00 committed by GitHub
parent 84cb572efe
commit f4d7d47f4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,8 @@ class Rh2PlusManga : Madara("Rh2PlusManga", "https://www.rh2plusmanga.com", "th"
Genre("ลามก", "ecchi")
)
override val pageListParseSelector = "div.reading-content p code img"
override fun pageListParse(document: Document): List<Page> {
countViews(document)

View File

@ -338,7 +338,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Red Ribbon Scanlator", "https://redribbon.site", "pt-BR", overrideVersionCode = 1),
SingleLang("Renascence Scans (Renascans)", "https://new.renascans.com", "en", className = "RenaScans", overrideVersionCode = 1),
SingleLang("Reset Scans", "https://reset-scans.com", "en", overrideVersionCode = 4),
SingleLang("Rh2PlusManga", "https://www.rh2plusmanga.com", "th", overrideVersionCode = 2),
SingleLang("Rh2PlusManga", "https://www.rh2plusmanga.com", "th", overrideVersionCode = 3),
SingleLang("Rüya Manga", "https://www.ruyamanga.com", "tr", className = "RuyaManga", overrideVersionCode = 1),
SingleLang("S2Manga", "https://s2manga.com", "en", overrideVersionCode = 1),
SingleLang("SISI GELAP", "https://sigel.xyz", "id", overrideVersionCode = 3),