Madara - WebtoonTR, ToonGod, Astra Scans (#13254)

* Update WebtoonTR

Fixes #13247
Updates to use old old admin-ajax.php endpoint.

* Fix ToonGod

Fixes #12952
Use direct popularManga and latestUpdates requests.
Updates to use basic search

* Add Astra Scans

Closes #13154

* Fix ToonGod Imports
This commit is contained in:
happywillow0 2022-08-29 10:02:52 -04:00 committed by GitHub
parent 35b4811c4d
commit 775cfaa97d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 12 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

View File

@ -1,7 +1,14 @@
package eu.kanade.tachiyomi.extension.en.toongod
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.GET
import okhttp3.Request
import java.text.SimpleDateFormat
import java.util.Locale
class ToonGod : Madara("ToonGod", "https://www.toongod.com", "en", SimpleDateFormat("dd MMM yyyy", Locale.US))
class ToonGod : Madara("ToonGod", "https://www.toongod.com", "en", SimpleDateFormat("dd MMM yyyy", Locale.US)) {
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/webtoons/page/$page/?m_orderby=views", headers)
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/webtoons/page/$page/?m_orderby=latest", headers)
override val mangaSubString = "webtoons"
override val useLoadMoreSearch = false
}

View File

@ -9,6 +9,4 @@ class WebtoonTR : Madara(
"https://webtoon-tr.com",
"tr",
SimpleDateFormat("dd/MM/yyy", Locale("tr"))
) {
override val useNewChapterEndpoint = true
}
)

View File

@ -48,6 +48,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Aqua Manga", "https://aquamanga.com", "en", overrideVersionCode = 1),
SingleLang("ArazNovel", "https://www.araznovel.com", "tr", overrideVersionCode = 3),
SingleLang("Arthur Scan", "https://arthurscan.xyz", "pt-BR", overrideVersionCode = 4),
SingleLang("Astra Scans", "https://astrascans.com", "en"),
SingleLang("Astral Library", "https://www.astrallibrary.net", "en", overrideVersionCode = 2),
SingleLang("Asura Raw", "https://asuraraw.com", "en", overrideVersionCode = 1),
SingleLang("Atikrost", "https://atikrost.com", "tr", overrideVersionCode = 1),
@ -452,7 +453,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Time Naight", "https://timenaight.com", "tr"),
SingleLang("Todaymic", "https://todaymic.com", "en", overrideVersionCode = 1),
SingleLang("TonizuToon", "https://tonizutoon.com", "tr", isNsfw = true),
SingleLang("ToonGod", "https://www.toongod.com", "en", isNsfw = true, overrideVersionCode = 2),
SingleLang("ToonGod", "https://www.toongod.com", "en", isNsfw = true, overrideVersionCode = 3),
SingleLang("Toonily", "https://toonily.com", "en", isNsfw = true, overrideVersionCode = 8),
SingleLang("Toonily.net", "https://toonily.net", "en", isNsfw = true, className = "Toonilynet", overrideVersionCode = 2),
SingleLang("ToonMany", "https://toonmany.com", "en", isNsfw = true),
@ -477,7 +478,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Walpurgi Scan", "https://walpurgiscan.altervista.org", "it", overrideVersionCode = 2, className = "WalpurgisScan", pkgName = "walpurgisscan"),
SingleLang("War Queen Scan", "https://wqscan.com", "pt-BR", overrideVersionCode = 6),
SingleLang("Webtoon Hatti", "https://webtoonhatti.com", "tr", overrideVersionCode = 1),
SingleLang("Webtoon TR", "https://webtoon-tr.com", "tr"),
SingleLang("Webtoon TR", "https://webtoon-tr.com", "tr", overrideVersionCode = 1),
SingleLang("WebToon18", "http://webtoon18.net", "en", isNsfw = true, overrideVersionCode = 2),
SingleLang("WebToon69", "https://webtoon69.com", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("WebToonily", "https://webtoonily.com", "en", isNsfw = true, overrideVersionCode = 1),