Manga Demon: Update domain again (#1805)

* Update domain

* I trust
This commit is contained in:
bapeey 2024-03-11 05:53:05 -05:00 committed by Draff
parent 696a40e725
commit b1b8833e97
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
ext { ext {
extName = 'Manga Demon' extName = 'Manga Demon'
extClass = '.MangaDemon' extClass = '.MangaDemon'
extVersionCode = 9 extVersionCode = 10
isNsfw = false isNsfw = false
} }

View File

@ -28,7 +28,7 @@ class MangaDemon : ParsedHttpSource() {
override val lang = "en" override val lang = "en"
override val supportsLatest = true override val supportsLatest = true
override val name = "Manga Demon" override val name = "Manga Demon"
override val baseUrl = "https://demontoon.com" override val baseUrl = "https://demonreader.org"
override val client = network.cloudflareClient.newBuilder() override val client = network.cloudflareClient.newBuilder()
.rateLimit(1) .rateLimit(1)
@ -195,7 +195,7 @@ class MangaDemon : ParsedHttpSource() {
return SManga.create().apply { return SManga.create().apply {
title = infoElement.select("h1.novel-title").text() title = infoElement.select("h1.novel-title").text()
author = infoElement.select("div.author").text().drop(7) author = infoElement.select("div.author > [itemprop=author]").text()
status = parseStatus(infoElement.select("span:has(small:containsOwn(Status))").text()) status = parseStatus(infoElement.select("span:has(small:containsOwn(Status))").text())
genre = infoElement.select("a.property-item").joinToString { it.text() } genre = infoElement.select("a.property-item").joinToString { it.text() }
description = infoElement.select("p.description").text() description = infoElement.select("p.description").text()