From 2d6fd42c9d14d8501b389e89f9c968fab3a860ae Mon Sep 17 00:00:00 2001 From: Chopper <156493704+ttony2chopper@users.noreply.github.com> Date: Sun, 28 Apr 2024 00:10:52 -0300 Subject: [PATCH] Remove LerManga (#2617) --- src/pt/lermanga/AndroidManifest.xml | 22 -- src/pt/lermanga/build.gradle | 8 - .../lermanga/res/mipmap-hdpi/ic_launcher.png | Bin 2449 -> 0 bytes .../lermanga/res/mipmap-mdpi/ic_launcher.png | Bin 1403 -> 0 bytes .../lermanga/res/mipmap-xhdpi/ic_launcher.png | Bin 3136 -> 0 bytes .../res/mipmap-xxhdpi/ic_launcher.png | Bin 5343 -> 0 bytes .../res/mipmap-xxxhdpi/ic_launcher.png | Bin 7270 -> 0 bytes .../extension/pt/lermanga/LerManga.kt | 206 ------------------ .../extension/pt/lermanga/LerMangaDto.kt | 38 ---- .../pt/lermanga/LerMangaUrlActivity.kt | 49 ----- 10 files changed, 323 deletions(-) delete mode 100644 src/pt/lermanga/AndroidManifest.xml delete mode 100644 src/pt/lermanga/build.gradle delete mode 100644 src/pt/lermanga/res/mipmap-hdpi/ic_launcher.png delete mode 100644 src/pt/lermanga/res/mipmap-mdpi/ic_launcher.png delete mode 100644 src/pt/lermanga/res/mipmap-xhdpi/ic_launcher.png delete mode 100644 src/pt/lermanga/res/mipmap-xxhdpi/ic_launcher.png delete mode 100644 src/pt/lermanga/res/mipmap-xxxhdpi/ic_launcher.png delete mode 100644 src/pt/lermanga/src/eu/kanade/tachiyomi/extension/pt/lermanga/LerManga.kt delete mode 100644 src/pt/lermanga/src/eu/kanade/tachiyomi/extension/pt/lermanga/LerMangaDto.kt delete mode 100644 src/pt/lermanga/src/eu/kanade/tachiyomi/extension/pt/lermanga/LerMangaUrlActivity.kt diff --git a/src/pt/lermanga/AndroidManifest.xml b/src/pt/lermanga/AndroidManifest.xml deleted file mode 100644 index 12069eba4..000000000 --- a/src/pt/lermanga/AndroidManifest.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/src/pt/lermanga/build.gradle b/src/pt/lermanga/build.gradle deleted file mode 100644 index 6d19648f2..000000000 --- a/src/pt/lermanga/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -ext { - extName = 'Ler Mangá' - extClass = '.LerManga' - extVersionCode = 6 - isNsfw = true -} - -apply from: "$rootDir/common.gradle" diff --git a/src/pt/lermanga/res/mipmap-hdpi/ic_launcher.png b/src/pt/lermanga/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index 4b5b1db5c12040d872e30ec60168d547a4564f3a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2449 zcmV;C32yd@P)mTnc+qGkb+qsl79BpyXLMMVOM zr4dmg){@!;&B|77A!3y!%25Iv2_)p4gs3r+dzcyD>tS{}JzpPl^)xzP)l|*&bbtN6 zU;p3x?$$vtNfOWn`A8E80+LZk5Ks`1cR?hmARj7-VE$Hs+ORD2kxfbptgou7ip|N% znHL@&o~hI6;;dGylIvt|uJ#Ffz21iDQh$H{_a{!AII>{Df^M|IDrJXUK@Fv)rHMZSSl`6m2r5xa*JApOdfD`QJaN_K~Z zg)Q`@ky^=XXlUpQEZ>7gMMXc0DM<>Dv7w>ife8~P>_llMYNb%Vv;)=D+tk$b_eql` z?Zn~4E3;K@<#?d^ql@hX29rjKdT0z6plfJHcwc455kf5Scz6A||IoZ1!}Bn3M*Fh%kQ$2s8!AcG&{v?jGp= z@))%3u7XP^>%iJS=q$L6*FAE4*XtoHWh{)zyA4twdl0`Tfgv*7XRtH@$Y!-d|M_O< ztojdhefl}~9W2-dVgaF|^N!nieag@=2{3BzY)F3iUWmVC7U;vhS5?3Pk;`=c^D}7K z`62W-v;wJ!OME!O-y(n<*BD19K*}QvVf^yP!5A0qm6`$u2wSOO=^KESvPx*){yta- zsgKA@ZmMUb+Atq%pd{RWGfaE)1u%|D1Z?el1S%ka2+lxbD>QB_hpw9cx`@Ra_1M+t zWD%2<2~$eeK-}yZpu>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ZVz6!{v6DPStbM(m(wBFg62ldxRs#C}`g}6d4j1 z!?{xO;yf6Qy>&xmgg0!sYc&DLQ3}i85DYfAL)RyVz_jmEZj#Yv7Oop|Ei+99#$(Gk z^@&9gJv9T232}^*{hgSvo@qw=OYm&P<5M zC3i8|Q*k9(j9ghg`d_nvT-*@5C*+FM3e@Rwp}$_|GnGh@yJ`S=^!R;nQ4o*}#2_Gl z1Hzp!&w9Fo)CV5m*DR>Tj~jM8-m4LH_UzfU>FMdu;f_Q3WfFcZihnYv4RyGyvLquT zV-w!Nt?f{>o;Iqswl+UEH+O4jXsCD1RsWRF>s)bTZ{MLqhn~UR&p67*ZK!kE+$*&u zGh+Vy`Dx|l<-2fC=WSkFqrnWCo12dqGW<)v@jxbcmN z6DQ8Zt>H9H;QnfD4Z*>9YBih9gSeUZ4DNPbRasg2KQxc_iZK>9Nxw;fKu~8VIy*Z% zxuBq69x7>y!C(kO-}P+We}F+D9D1?9aARZRxr&O4BbaE0f#A@FUgir1saJFiz#Py#|9TAfY6uI6`mINsSoKpY>@ zw=NJSC4d~~Ilw5rM$0O4fD#$zbWcHAEvPDXUF~Y{JER~W8N@+AGJt*sQn(|d1*?H3 P00000NkvXXu0mjfhM}0$ diff --git a/src/pt/lermanga/res/mipmap-mdpi/ic_launcher.png b/src/pt/lermanga/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index 4ec85d50f323b131e94fb5fcbab3407f24997e43..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1403 zcmV->1%&#EP)a5tU_|Mpl-IM9~Q!J!g_(^pDeT^BGPkT^e zY0OCtMG25)etvK>f}evt>%)(0Ho<#(C^LA@ zLYcse>KLx7!jf>w)W|zL|mN?ZpLs)#?>! z`lMSu0wnbhEe{}cP9|_AYNYu-o_ToHs6PH$!#;AY_G8e_E0QHKV+(n0Loxd#4iUgK zz)!v+%}fFoAAAdyci*ZG0rwZ*;zWZs^Zg@x?0;Btm;*7OR zUV*8=XYjpL&Fi0k9M@Sls6)WD?+9$x9ccHcOtWCZN}f;xlF5B)uhUiK zs@rkHuI+5eg;q*(J5(VcHtiW0#K`W?;XZO4;lKak5GVgqo-b=%f(1{spVvM-lv{Vpl=@EyOdDMeFaCcBM59r6 zw$*_gI!o~)lyWs1O-^g06@fs&ZZH_i6h|?G3WLGmn9*ol$f}?ZPsZhST9hdr7#P^u z*x2~k4BAutRh!MWx1pioNmlU~J2P%@P{YQ$y1Hw6dwXAGziZjHj{MkGaftF2vh6OP z!{IpG-rnBP-`_vNN(K0ma?4<}OGE1#WFg9Vh3w4NRx9;1ZR*kPA zE)Jdu<&yyUot6QK2tVtH36U$XT+1nKtTe#V2J!_=F`{#xz`qP=EnY@^LZ1Kt002ov JPDHLkV1gZTp#uN_ diff --git a/src/pt/lermanga/res/mipmap-xhdpi/ic_launcher.png b/src/pt/lermanga/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 65aa209440a304071b814d011bd02c32a848af52..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3136 zcmV-G48QYK&bhC>u=lciX3oIw zo^$Rw-}gVx`is zE=-`8K(~)a;je63l>$iVDVlvz_^h-X*%j1zLIT`BI{iM&s=5;3JfLshyg6~&v}rSJ zHd~>^Vi{~QnUZBashcKpyWKaPPUnT%+S+ZqckljW&YU^7v8gU!lx($J0tozw;^N}e z88c>VkBErKl`J^~6ErtBpE`K(;LORBCtt$mH_IVG4gmzdB_ksvro6oT3#-*SG6b=e z-Q=dGrZY2V&YW0MQsTf&WRgf5xIu~l!QMw!RaMRH*RS7OvTG8;39GBCU+LSo@1GHZ zMjruO=PZW+D;5%6S66o^Ha0dVgmIPK^oE9pGQ?^kW@y0J5E=KQ`NUqi7*ZU2ug#!3eL^{J=B(-@vJX(5cUA1 zpQS<8#CXVjV-X}zc>+upn(op*7>0nFl0#7O>S}1dQ|m#YQ^02xY%)XY4+~&$(IPNK zXz!?XPXP69D&P75F8y(nsF|0t^DNdnn4b>jt5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002ovPDHLkV1oFN55oWe diff --git a/src/pt/lermanga/res/mipmap-xxxhdpi/ic_launcher.png b/src/pt/lermanga/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index a4dbc9a97e7e30de08e63c849608b35d2c07cc7b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7270 zcmaJ`S5%WrwEh!A37yb;O8}`yl#V1o=n8mfB3(L2m)-(`fb=dM#DXFng3_B(lq$XV zj-l58m$TM=x)1kZX1<46d+nLM_BVUJ9j&9KN>0K|0ssKHx*Gc5+qLz-K}>i%|2y-7 z2mn}x)zJ!izGl0oP+vM_to&p*dn<~VidfcC6{Yjq&t-v-e@X03uM+Cz3>$m#h9?VC zTAu=~QR=BLzgWCB+mA?j0!bZeD)i3QX*HsJpHX zbcPnFU?5Z@YoGd4fT%kPaR8LFxKBHm4@5;2#ted?bh7hhw85Md5OFXZQy_u#%7dU- zi5(%0{D3I-Zn64v&vhr~vVniSTvGaWFO9&FB$sp`!|)|SuF=!IV^;zP$*E<-lHooC zys#O^Z-mUbR2wfkzLB>p#eNC&syodQCgjMx>4c5 zl-eE#+W51xhkR;w)Z>Xb2rw^-+@zQm#{5*{kn#CDbEclcYs$gEASos!B$Q^ltEi+T zo8|J5j?5S0=;&BA>D5?YFH`sJ+gS-Yi$tKuc4^((uN75lenmGl#G3^5IQYk(<$=Lm zSs#kssoHJlp`oD=Vkp#sY0sdDLh3cj*?ISKRaI4sjje6j=6uTyy?2pg8gWfg*sAvg z0uVk&EL97}CWWZw%Lf_U*Pie9aQYlppn!ocKJxZHS<%Xs2`Yqz`lBlltW~VaI$hiEFm@y;!TXoTv!_TXSKJdCv&7Z z=yEa^5B26&^devYzko|+XJnkxE)Q#r9SZc>7vwR#1^@g4jI3lRvU^8p=gQRn82+Fs zsXJlS%d4mM3ZPNwF?MYde=$|#p!$GYr<^&ny-x&`!-sTIMq64g=A;W7&slv@){CMV zR9N_(dHbLEEZ-67k{3s|5Z%yEOuFr|?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uXwF~~G2GoxWN zu8bJP z$8l5IUoO=3%qX2)jUM7&R10ps5p-`7gB6E-$&ekj5mvC5T&#I-U=T%nulS~%575jl zYzIYR%oyKOnKF^5Mw;|$Pj|bX5*HMd=M8@0t0y_H?c~F8xHZpA!`ybAKnU4Sf diff --git a/src/pt/lermanga/src/eu/kanade/tachiyomi/extension/pt/lermanga/LerManga.kt b/src/pt/lermanga/src/eu/kanade/tachiyomi/extension/pt/lermanga/LerManga.kt deleted file mode 100644 index 99d37aa41..000000000 --- a/src/pt/lermanga/src/eu/kanade/tachiyomi/extension/pt/lermanga/LerManga.kt +++ /dev/null @@ -1,206 +0,0 @@ -package eu.kanade.tachiyomi.extension.pt.lermanga - -import android.util.Base64 -import eu.kanade.tachiyomi.network.GET -import eu.kanade.tachiyomi.network.interceptor.rateLimitHost -import eu.kanade.tachiyomi.source.model.FilterList -import eu.kanade.tachiyomi.source.model.MangasPage -import eu.kanade.tachiyomi.source.model.Page -import eu.kanade.tachiyomi.source.model.SChapter -import eu.kanade.tachiyomi.source.model.SManga -import eu.kanade.tachiyomi.source.online.ParsedHttpSource -import kotlinx.serialization.decodeFromString -import kotlinx.serialization.json.Json -import okhttp3.Headers -import okhttp3.HttpUrl.Companion.toHttpUrl -import okhttp3.OkHttpClient -import okhttp3.Request -import okhttp3.Response -import org.jsoup.nodes.Document -import org.jsoup.nodes.Element -import uy.kohesive.injekt.injectLazy -import java.text.SimpleDateFormat -import java.util.Locale -import java.util.concurrent.TimeUnit -import kotlin.UnsupportedOperationException - -class LerManga : ParsedHttpSource() { - - override val name = "Ler Mangá" - - override val baseUrl = "https://lermanga.org" - - override val lang = "pt-BR" - - override val supportsLatest = true - - override val client: OkHttpClient = network.cloudflareClient.newBuilder() - .rateLimitHost(baseUrl.toHttpUrl(), 1, 1, TimeUnit.SECONDS) - .rateLimitHost(IMG_CDN_URL.toHttpUrl(), 1, 2, TimeUnit.SECONDS) - .build() - - private val json: Json by injectLazy() - - override fun headersBuilder(): Headers.Builder = Headers.Builder() - .add("Referer", "$baseUrl/") - - private fun apiHeadersBuilder(): Headers.Builder = headersBuilder() - .add("Accept", "application/json") - - private val apiHeaders by lazy { apiHeadersBuilder().build() } - - override fun popularMangaRequest(page: Int): Request { - val path = if (page > 1) "page/$page/" else "" - return GET("$baseUrl/mangas/$path?orderby=views&order=desc", headers) - } - - override fun popularMangaSelector(): String = "div.film_list div.flw-item" - - override fun popularMangaFromElement(element: Element): SManga = SManga.create().apply { - title = element.selectFirst("h3.film-name")!!.text() - thumbnail_url = element.selectFirst("img.film-poster-img")!!.srcAttr() - setUrlWithoutDomain(element.selectFirst("a.dynamic-name")!!.attr("href")) - } - - override fun popularMangaNextPageSelector(): String = "div.wp-pagenavi > a:last-child" - - override fun latestUpdatesRequest(page: Int): Request = GET(baseUrl, headers) - - override fun latestUpdatesSelector() = "div.capitulo_recentehome" - - override fun latestUpdatesFromElement(element: Element): SManga = SManga.create().apply { - title = element.selectFirst("h3")!!.text() - thumbnail_url = element.selectFirst("img")!!.absUrl("data-src") - setUrlWithoutDomain(element.selectFirst("h3 > a")!!.attr("href")) - } - - override fun latestUpdatesNextPageSelector(): String? = null - - override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request { - if (query.startsWith(PREFIX_SLUG_SEARCH)) { - val slug = query.removePrefix(PREFIX_SLUG_SEARCH) - val tempManga = SManga.create().apply { url = "/mangas/$slug" } - - return mangaDetailsRequest(tempManga) - } - - val apiRequest = "$API_BASE_URL/mangas".toHttpUrl().newBuilder() - .addQueryParameter("page", page.toString()) - .addQueryParameter("search", query) - .addQueryParameter("_fields", "title,slug") - .build() - - return GET(apiRequest, apiHeaders) - } - - override fun searchMangaParse(response: Response): MangasPage { - if (response.request.url.queryParameter("slug") != null) { - val manga = mangaDetailsParse(response) - return MangasPage(listOf(manga), hasNextPage = false) - } - - val result = response.parseAs>() - val mangaList = result.map(LmMangaDto::toSManga) - - val currentPage = response.request.url.queryParameter("page") - .orEmpty().toIntOrNull() ?: 1 - val lastPage = response.headers["X-Wp-TotalPages"]!!.toInt() - val hasNextPage = currentPage < lastPage - - return MangasPage(mangaList, hasNextPage) - } - - override fun searchMangaSelector() = throw UnsupportedOperationException() - - override fun searchMangaFromElement(element: Element) = throw UnsupportedOperationException() - - override fun searchMangaNextPageSelector() = throw UnsupportedOperationException() - - override fun getMangaUrl(manga: SManga): String = baseUrl + manga.url - - override fun mangaDetailsRequest(manga: SManga): Request { - val slug = manga.url.removePrefix("/mangas/").removeSuffix("/") - - val apiRequest = "$API_BASE_URL/mangas".toHttpUrl().newBuilder() - .addQueryParameter("slug", slug) - .addQueryParameter("limit", "1") - .addQueryParameter("_embed", "wp:term") - .addQueryParameter("_fields", "title,slug,content,_links.wp:term,_embedded.wp:term") - .build() - - return GET(apiRequest, apiHeaders) - } - - override fun mangaDetailsParse(response: Response): SManga { - return response.parseAs>().first().toSManga() - } - - override fun mangaDetailsParse(document: Document): SManga = throw UnsupportedOperationException() - - override fun chapterListSelector() = "div.manga-chapters div.single-chapter" - - override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply { - name = element.selectFirst("a")!!.text() - date_upload = element.selectFirst("small small")!!.text().toDate() - setUrlWithoutDomain(element.selectFirst("a")!!.attr("href")) - } - - override fun pageListParse(document: Document): List { - val pagesScript = document.selectFirst("h1.heading-header + script") - ?: return emptyList() - - val pagesJson = when { - pagesScript.hasAttr("src") -> { - pagesScript.attr("src") - .substringAfter("base64,") - .let { Base64.decode(it, Base64.DEFAULT).toString(Charsets.UTF_8) } - } - else -> pagesScript.data() - } - - return pagesJson - .replace(PAGES_VARIABLE_REGEX, "") - .substringBeforeLast(";") - .let { json.decodeFromString>(it) } - .filter { it.isNotBlank() } - .mapIndexed { index, imageUrl -> - Page(index, imageUrl = imageUrl) - } - } - - override fun imageUrlParse(document: Document) = throw UnsupportedOperationException() - - override fun imageRequest(page: Page): Request { - val newHeaders = headersBuilder() - .set("Referer", page.url) - .build() - - return GET(page.imageUrl!!, newHeaders) - } - - private inline fun Response.parseAs(): T = use { - json.decodeFromString(it.body.string()) - } - - private fun Element.srcAttr(): String = when { - hasAttr("data-src") -> absUrl("data-src") - else -> absUrl("src") - } - - private fun String.toDate(): Long { - return runCatching { DATE_FORMATTER.parse(trim())?.time } - .getOrNull() ?: 0L - } - - companion object { - const val API_BASE_URL = "https://lermanga.org/wp-json/wp/v2" - const val IMG_CDN_URL = "https://img.lermanga.org" - private val PAGES_VARIABLE_REGEX = "var imagens_cap\\s*=\\s*".toRegex() - private val DATE_FORMATTER by lazy { - SimpleDateFormat("dd-MM-yyyy", Locale("pt", "BR")) - } - - const val PREFIX_SLUG_SEARCH = "slug:" - private const val ERROR_NO_SEARCH_AVAILABLE = "O site não possui busca própria." - } -} diff --git a/src/pt/lermanga/src/eu/kanade/tachiyomi/extension/pt/lermanga/LerMangaDto.kt b/src/pt/lermanga/src/eu/kanade/tachiyomi/extension/pt/lermanga/LerMangaDto.kt deleted file mode 100644 index 2e5a305e4..000000000 --- a/src/pt/lermanga/src/eu/kanade/tachiyomi/extension/pt/lermanga/LerMangaDto.kt +++ /dev/null @@ -1,38 +0,0 @@ -package eu.kanade.tachiyomi.extension.pt.lermanga - -import eu.kanade.tachiyomi.source.model.SManga -import kotlinx.serialization.SerialName -import kotlinx.serialization.Serializable -import org.jsoup.Jsoup -import org.jsoup.nodes.Entities - -@Serializable -data class LmMangaDto( - val slug: String, - val title: LmContentDto, - val content: LmContentDto? = null, - @SerialName("_embedded") val embedded: LmEmbedDto? = null, -) { - - fun toSManga(): SManga = SManga.create().apply { - title = Entities.unescape(this@LmMangaDto.title.rendered) - thumbnail_url = "${LerManga.IMG_CDN_URL}/${slug.first().uppercase()}/$slug/capa.jpg" - description = content?.rendered?.let { Jsoup.parseBodyFragment(it) }?.text()?.trim() - genre = embedded?.wpTerm.orEmpty().flatten() - .filter { it.taxonomy == "generomanga" } - .joinToString { it.name } - url = "/mangas/$slug" - } -} - -@Serializable -data class LmContentDto(val rendered: String) - -@Serializable -data class LmEmbedDto(@SerialName("wp:term") val wpTerm: List>) - -@Serializable -data class LmTaxonomyDto( - val name: String, - val taxonomy: String, -) diff --git a/src/pt/lermanga/src/eu/kanade/tachiyomi/extension/pt/lermanga/LerMangaUrlActivity.kt b/src/pt/lermanga/src/eu/kanade/tachiyomi/extension/pt/lermanga/LerMangaUrlActivity.kt deleted file mode 100644 index 716a5d6fb..000000000 --- a/src/pt/lermanga/src/eu/kanade/tachiyomi/extension/pt/lermanga/LerMangaUrlActivity.kt +++ /dev/null @@ -1,49 +0,0 @@ -package eu.kanade.tachiyomi.extension.pt.lermanga - -import android.app.Activity -import android.content.ActivityNotFoundException -import android.content.Intent -import android.os.Bundle -import android.util.Log -import kotlin.system.exitProcess - -/** - * Activity that accepts https://lermanga.org/mangas/xxx intents and redirects them to - * the main Tachiyomi process. The idea is to not install the intent filter unless - * you have this extension installed, but still let the main Tachiyomi app control - * things. - * - * Main goal was to make it easier to open manga in Tachiyomi in spite of the DDoS blocking - * the usual search screen from working. - * - * Added as the site removed their own search and are using an embedded Google search. - * As Google has a lot of measures to prevent scrapping, this is the best that can - * be done at the moment. - */ -class LerMangaUrlActivity : Activity() { - - override fun onCreate(savedInstanceState: Bundle?) { - super.onCreate(savedInstanceState) - val pathSegments = intent?.data?.pathSegments - - if (pathSegments != null && pathSegments.size > 1) { - val slug = pathSegments[1] - val intent = Intent().apply { - action = "eu.kanade.tachiyomi.SEARCH" - putExtra("query", LerManga.PREFIX_SLUG_SEARCH + slug) - putExtra("filter", packageName) - } - - try { - startActivity(intent) - } catch (e: ActivityNotFoundException) { - Log.e("LerMangaUrlActivity", e.toString()) - } - } else { - Log.e("LerMangaUrlActivity", "Could not parse URI from intent $intent") - } - - finish() - exitProcess(0) - } -}