Add/Fix Mangalivre + Madara change (#8062)

* Add/Fix Mangalivre + Madara change

* madara version

* add old Mangalivre id
This commit is contained in:
Creepler13 2025-03-14 14:00:16 +01:00 committed by Draff
parent 4d5e44c2a6
commit 31d83bbfc3
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
9 changed files with 29 additions and 4 deletions

View File

@ -2,7 +2,7 @@ plugins {
id("lib-multisrc") id("lib-multisrc")
} }
baseVersionCode = 40 baseVersionCode = 41
dependencies { dependencies {
api(project(":lib:cryptoaes")) api(project(":lib:cryptoaes"))

View File

@ -160,7 +160,7 @@ abstract class Madara(
} }
// exclude/filter bilibili manga from list // exclude/filter bilibili manga from list
override fun popularMangaSelector() = "div.page-item-detail:not(:has(a[href*='bilibilicomics.com']))$mangaEntrySelector" override fun popularMangaSelector() = "div.page-item-detail:not(:has(a[href*='bilibilicomics.com']))$mangaEntrySelector , .manga__item"
open val popularMangaUrlSelector = "div.post-title a" open val popularMangaUrlSelector = "div.post-title a"
@ -584,7 +584,7 @@ abstract class Madara(
return MangasPage(entries, hasNextPage) return MangasPage(entries, hasNextPage)
} }
override fun searchMangaSelector() = "div.c-tabs-item__content" override fun searchMangaSelector() = "div.c-tabs-item__content , .manga__item"
protected open val searchMangaUrlSelector = "div.post-title a" protected open val searchMangaUrlSelector = "div.post-title a"
@ -754,7 +754,7 @@ abstract class Madara(
open val mangaDetailsSelectorTitle = "div.post-title h3, div.post-title h1, #manga-title > h1" open val mangaDetailsSelectorTitle = "div.post-title h3, div.post-title h1, #manga-title > h1"
open val mangaDetailsSelectorAuthor = "div.author-content > a, div.manga-authors > a" open val mangaDetailsSelectorAuthor = "div.author-content > a, div.manga-authors > a"
open val mangaDetailsSelectorArtist = "div.artist-content > a" open val mangaDetailsSelectorArtist = "div.artist-content > a"
open val mangaDetailsSelectorStatus = "div.summary-content" open val mangaDetailsSelectorStatus = "div.summary-content, div.summary-heading:contains(Status) + div"
open val mangaDetailsSelectorDescription = "div.description-summary div.summary__content, div.summary_content div.post-content_item > h5 + div, div.summary_content div.manga-excerpt" open val mangaDetailsSelectorDescription = "div.description-summary div.summary__content, div.summary_content div.post-content_item > h5 + div, div.summary_content div.manga-excerpt"
open val mangaDetailsSelectorThumbnail = "div.summary_image img" open val mangaDetailsSelectorThumbnail = "div.summary_image img"
open val mangaDetailsSelectorGenre = "div.genres-content a" open val mangaDetailsSelectorGenre = "div.genres-content a"

View File

@ -0,0 +1,9 @@
ext {
extName = 'Manga Livre'
extClass = '.MangaLivre'
themePkg = 'madara'
baseUrl = 'https://mangalivre.ru'
overrideVersionCode = 0
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -0,0 +1,16 @@
package eu.kanade.tachiyomi.extension.pt.mangalivre
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
class MangaLivre : Madara(
"Manga Livre",
"https://mangalivre.ru",
"pt-BR",
SimpleDateFormat("MMMM dd, yyyy", Locale("pt")),
) {
override val useNewChapterEndpoint = true
override val id: Long = 2834885536325274328
}