Manga Starz: fix thumbnail issue (#13694)

Closes #13297
This commit is contained in:
Riztard Lanthorn 2022-10-03 18:48:59 +07:00 committed by GitHub
parent 34cf6a50b9
commit c79f4c1178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -2,9 +2,14 @@ package eu.kanade.tachiyomi.extension.ar.mangastarz
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.SManga
import okhttp3.Headers
import org.jsoup.nodes.Element
class MangaStarz : Madara("Manga Starz", "https://mangastarz.com", "ar") {
override fun headersBuilder(): Headers.Builder = Headers.Builder()
.add("Referer", baseUrl)
override fun popularMangaFromElement(element: Element): SManga {
val manga = SManga.create()

View File

@ -219,7 +219,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Manga Rocky", "https://mangarocky.com", "en", overrideVersionCode = 1),
SingleLang("Manga Sepeti", "https://www.mangasepeti.xyz", "tr", overrideVersionCode = 1),
SingleLang("Manga Sky", "https://mangasky.net", "en"),
SingleLang("Manga Starz", "https://mangastarz.com", "ar", overrideVersionCode = 1),
SingleLang("Manga Starz", "https://mangastarz.com", "ar", overrideVersionCode = 2),
SingleLang("Manga Too", "https://mangatoo.com", "en", overrideVersionCode = 1),
SingleLang("Manga Weeaboo", "https://mangaweeaboo.com", "en", overrideVersionCode = 1),
SingleLang("Manga Weebs", "https://mangaweebs.in", "en", overrideVersionCode = 7),