Add/Fix Mangalivre + Madara change (#8062)
* Add/Fix Mangalivre + Madara change * madara version * add old Mangalivre id
This commit is contained in:
parent
4d5e44c2a6
commit
31d83bbfc3
@ -2,7 +2,7 @@ plugins {
|
||||
id("lib-multisrc")
|
||||
}
|
||||
|
||||
baseVersionCode = 40
|
||||
baseVersionCode = 41
|
||||
|
||||
dependencies {
|
||||
api(project(":lib:cryptoaes"))
|
||||
|
@ -160,7 +160,7 @@ abstract class Madara(
|
||||
}
|
||||
|
||||
// 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"
|
||||
|
||||
@ -584,7 +584,7 @@ abstract class Madara(
|
||||
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"
|
||||
|
||||
@ -754,7 +754,7 @@ abstract class Madara(
|
||||
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 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 mangaDetailsSelectorThumbnail = "div.summary_image img"
|
||||
open val mangaDetailsSelectorGenre = "div.genres-content a"
|
||||
|
9
src/pt/mangalivre/build.gradle
Normal file
9
src/pt/mangalivre/build.gradle
Normal file
@ -0,0 +1,9 @@
|
||||
ext {
|
||||
extName = 'Manga Livre'
|
||||
extClass = '.MangaLivre'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://mangalivre.ru'
|
||||
overrideVersionCode = 0
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
BIN
src/pt/mangalivre/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/pt/mangalivre/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
BIN
src/pt/mangalivre/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/pt/mangalivre/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
BIN
src/pt/mangalivre/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/pt/mangalivre/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
BIN
src/pt/mangalivre/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/pt/mangalivre/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.9 KiB |
BIN
src/pt/mangalivre/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/pt/mangalivre/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user