From f546b99eff9f0b31d7ff38f785908ca506af84a7 Mon Sep 17 00:00:00 2001 From: FourTOne5 <59261191+FourTOne5@users.noreply.github.com> Date: Mon, 1 Nov 2021 23:02:01 +0600 Subject: [PATCH] Remove WeComics (#9695) --- src/en/wecomics/AndroidManifest.xml | 2 - src/en/wecomics/build.gradle | 15 -- .../wecomics/res/mipmap-hdpi/ic_launcher.png | Bin 2572 -> 0 bytes .../wecomics/res/mipmap-mdpi/ic_launcher.png | Bin 1657 -> 0 bytes .../wecomics/res/mipmap-xhdpi/ic_launcher.png | Bin 3696 -> 0 bytes .../res/mipmap-xxhdpi/ic_launcher.png | Bin 6370 -> 0 bytes .../res/mipmap-xxxhdpi/ic_launcher.png | Bin 9690 -> 0 bytes .../extension/en/wecomics/WeComics.kt | 188 ------------------ 8 files changed, 205 deletions(-) delete mode 100644 src/en/wecomics/AndroidManifest.xml delete mode 100644 src/en/wecomics/build.gradle delete mode 100644 src/en/wecomics/res/mipmap-hdpi/ic_launcher.png delete mode 100644 src/en/wecomics/res/mipmap-mdpi/ic_launcher.png delete mode 100644 src/en/wecomics/res/mipmap-xhdpi/ic_launcher.png delete mode 100644 src/en/wecomics/res/mipmap-xxhdpi/ic_launcher.png delete mode 100644 src/en/wecomics/res/mipmap-xxxhdpi/ic_launcher.png delete mode 100644 src/en/wecomics/src/eu/kanade/tachiyomi/extension/en/wecomics/WeComics.kt diff --git a/src/en/wecomics/AndroidManifest.xml b/src/en/wecomics/AndroidManifest.xml deleted file mode 100644 index 30deb7f79..000000000 --- a/src/en/wecomics/AndroidManifest.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/src/en/wecomics/build.gradle b/src/en/wecomics/build.gradle deleted file mode 100644 index d56032b70..000000000 --- a/src/en/wecomics/build.gradle +++ /dev/null @@ -1,15 +0,0 @@ -apply plugin: 'com.android.application' -apply plugin: 'kotlin-android' - -ext { - extName = 'WeComics' - pkgNameSuffix = 'en.wecomics' - extClass = '.WeComics' - extVersionCode = 2 -} - -dependencies { - implementation 'org.xxtea:xxtea-java:1.0.5' -} - -apply from: "$rootDir/common.gradle" diff --git a/src/en/wecomics/res/mipmap-hdpi/ic_launcher.png b/src/en/wecomics/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index 2148d01ec61d5dbd15351cb0936d9d3b3dbc3046..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2572 zcmV+n3iI`eP)}K!gZnB$%-DIzOXU<&s z_TIbS`Q7vQo%4Mgmn(TBkK~a&l1E}6M6Lmpkv_;#!a7|aa57v29sA;YtDE%!G=J>< z+UuF7y=iZ1ulo%>&-1T@63p4m-7^ik^ctkVjWow|TK zlGQ)eJojci&^I^D=OlqnO|w(CvWf#c>Kujjqz}TmB`fWL065Aa)?=|EU-LU-X#ccP zldL*-2cQ9$-X1gEsQ{_$G+*mnHywCwR3>!o2|xoIW~IKZ910M0YRhJT{xQl6U3&u1 zpt_m2y`vm#K>(=y)e-ZdYtI16Or7I&fGVbr%;_;eXJ@2jIUS&~jFGuXfD#WN4->W9 zNiDdO)ROO$TJ=*>MZYAq?pLJNvaETE)QZPQ<$sq{&K-R1*iR5Zi&*K+FOlBAg!Gxc zq?DFe_%@;^F93y>v6Y0{q4BoS(a=+nFfS?##hd%Z`D}GLZ z(7GF<1i;2>Ql;6X3V$RPnD7AQj5lvyA1`4AuXYoZPDJ@gUpYsre7+y3u?Y&$;`>Nd z<&Gy^wIVz?#?_QPZAWu0{*Ua}dL@iBOQ5#7+f`DHPY3^LB(5|NSAv_|91|P#8bg*YfI(Y!$rcAkj|?LNrOMFd6MNR zyX=_GDZkDR61%xtJkcH>bH5p5fL1?2`s6lJ+ot&gqDNc{%7x1=tAEB58N=6p&u|wr zUimHqEiRxxd{f-wS`(@Dzmsb@8yN=83|qd#-6a9lAMXs$mG;i!@AXJz@qo%^P7G}+$%ek!77k=Wd&%-L@sU@ zkv_OQD2Lw@(4x(7SL&r}5c4dCcw($5igbRd*7(0sl7Z4F3k)UT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 zeE_yDa-Bv;l2n6MvYG%HsewyT(cky2bxgVbDvjp|3%ie=c2DEw?)X(DI9lID4W|)fB8y z`CpR0ha#|~=DbS;-9S0~Jc_^8t2$7#jmDCk9@&VneJR4eFu7lV?eCx<)spqVmQ#73 z_EImD^@fTfPsC)+oUfwD`JKHO#fe;MHC9Pbkn)P!+z=3`&Z4mk$m!o`->_1x21ma5 zCv{)34G*X_F-x%f0g#+BL1o`VWQDRAsnv32SUz`rKxnAB6Xyq_xtn``gef(a?^iC*!u2LV;eR1w@ zBKuKAcvhdf10`kw zTi=bwFZK;^4Z!r#AT`AA0YjvwQFze@j{l;9uz77@Q`o#=zU|A zLW6uG1L3nL%shAJ9~vxOJ~EAb8+0Sz$OcUIyT`xyixC+OzXminuN~7y)@nNUrO7!j zkPn5QjmVtjJDAgFz>R*X97Oie(}6>#FPt)T_Iz8L*vn=!7tcK-V8{&i<+{;#1Tn|o z=T7=_FxkBxw!!SnO?`N0vXm~?-r-4eN!b3wOOF2mhdNnIVAZo@00000NkvXXu0mjf DJ9Hrs diff --git a/src/en/wecomics/res/mipmap-xhdpi/ic_launcher.png b/src/en/wecomics/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 06e2936c0c9190a747e16602d000bc9740a43292..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3696 zcmV-$4v+DPP)?16*;S>|4E&wtOn%=TuONv6pg=HBl+Utr!g@Bi;T_dn;J z_a-I9G}BBo%{0?YGtD&95~ry_DW|HbeVZ5~BP<#Yc<)6`7i#{!QW=S{!J#c?im>50ux~4 zk5$}zzRGrWq>B}hDLE!X31hV;*$OH~rl-brBv@>gyDvXij&T(-@UCi4R)&WzER1Cc z#==z%Y>tfVv}M_|?OVoeBv>b@cDsh4=X=~4HFU9WO|K6&!i2D?9PLs?ucW>j7XmDK zHFrS!GdynBIxy^E)(zk`W?{2yc-n?Xd$(-rk72!ff5DJT+tP^->WjELO9OTo0tg#; ziM?;8mri)_!jAPG1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6=HAZirdE>Mc76k=h9dX(pD{mcO++#|GKjQtOldacyr&Q z%pLX8Fn^4&DJlP!VpNkrzI|}PDV&N258iE1;vOG3HDV#(sfsXPz<4B8h5aZ{L=U_< zobmk^7yL_wQI~A~)&GH%PY^R= z7;i*(Vl8^v-`y>@kL=+cd-z~3XIu5sQPAM=jRf{)g45L0xO)S0^cLg0+-yEp@S#*n zg`NlyjUK#!t0*@Uw5vSNL>^M5IZd0;l^|MHhqcOu`DNWp!*TJr*Cf$4I&Z>%>p6;5$lm{0|D z=?T2t;Opek%llU$Iq>48DPrPsT4}0(*zm;sTB6G7gL$N70vg0Fo!D_Badjzknft1# z?egr|svQP7zD}oo<9nn=f=RXbsm}4e74BTc||n1bP2pkPM$vKK9v`c)>&blz_+ zYGadP4&y!^y!<@J&*3lLpwPPp^5A-w{H+$^ZO;olBwyX+Zep26bM8ffBE$oBH82lFh$-G-S30-=M`!}6avIFibmHt1hacCnR3NvTjnd@xR}uT+0tbp?J5 zN$U}e@zQ(SUXejKpwmn2BYkwKXRLdtbdl+Q`0jE(VDj=yf}5X^amUW3b;Pf(rL+5A z*NDC?FT)pjVL6Q#cB~?uQ)l<&*5 zn0rSZ??G+9E;m%{J8t*rQ z>#w*e0u>g&@>YCNXuwrKox6|JUqxcD%gw0%-|qpP(o0jz*c#m2v*mz)zY9P`;kA5~ ItXc5?02?6TF#rGn diff --git a/src/en/wecomics/res/mipmap-xxxhdpi/ic_launcher.png b/src/en/wecomics/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 6eb69c424e0fb8e6c2d5fcf37ecc42efa2ae90c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9690 zcmb7~RZ!hQufYE}2X~iKT#7>}P#lUo6n869^Z>faZR z(~;8Dr?304VQk)mTw@DGJxIU24?!@+G0ls%Q^!Y; z$OB1hs)%5bN-D#{#M3dM{JWsI^=-dh>KhpuIeL?!k(0E?`?S%jqmd)e%aPL+HJ{xy zIt9r7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itc;mQ|2vAZ*J`YM(>n`-Z42yW*<~KlGV&d{fs4qru%-swi zcW&dg%(6@Qx+;CX$kUJyWj*J;_`-fd=Uh z%YJ~!BnEj(4FG(>xUVs^&3<$1xuZ1n2F%xI+VqD@Qy1R<;djMrnkm+ZZ5?a%1EBF1 z^tBI9Fo4l;b`GIU=02pKxmsrG~I;Efcx6JfPmaw+pM_yD$8 zVq|BilcUU$U8boELw8X*z1a~ar0{0ppV>_E$6%rXjDmRtj@T_>Yipc_1l(NoDwqAh z498zE{I1^>o3%ZA#(OEVjc@U-AW_V1t&N^eZiU^f z_9?ZzFn51>Daif9TZxLbCzGYByWRJseKzZwf2G+ME>BsAj%;bH~<jx2R9cfV&0m`bQBcC_+nW$k9FG@rzhz+U+GcPOwq)#BDSMV zDiNgb`ZhXWfv+dx*({g>4)(ybdqPqz1Qp&DttmA^5aD1m5v=NoGVN-Mg0$uPOW~G{Ll#ei>CG`_jZn4nBgZ`r z&8x5TxcVaWW9SfgeNoFXa!CK-#BPfn{?>^hBmG)b5gZkkmeq8QWGqJT(QM1%JEUV& zC#{E!muKf@K|dNSj7B6$_epxH;4k{W}RbB zt2@h)A1mEM;&IhORb|IuN>KI3K#=akehvdm9XbZzNiif5D&&t<{R`O5f>XH3ZMNH5 zQ4V%>wX!Pz&J747ubUj>X5;-^PmZR4#R+4>dp;x`3#|kR%;lz#e(K77Vu;U4pl)R) zJ8;=Fs$hQnzC2%@&FEV^nH4BJcyrk=)Dc{Z5gO~S5h}KkdH=(J@aDGZPyKAX1-kY* zt|*o-758O!DZ$J4#eb_cvga~aPrBdJza~^}@_ye|LI}urget3q%!Yg}xZ8({ { - val pattern = Regex("""^/chapter/index\?id=(\d+)&cid=(\d+)""") - val matches = pattern.find(url)?.groupValues!! - return Pair(matches[1], matches[2]) - } - - private fun Int.toStatus() = when (this) { - 1 -> SManga.ONGOING - 2 -> SManga.COMPLETED - else -> SManga.UNKNOWN - } - - // Popular - - override fun popularMangaRequest(page: Int): Request = - GET("$baseUrl/h5/rank/getAllComicList/page/$page?plain=1") - - override fun popularMangaParse(response: Response): MangasPage { - val jsonObject = gson.fromJson(response.body!!.string()) - - val mangas = jsonObject["data"]["comic_list"].asJsonArray.map { - SManga.create().apply { - url = "/comic/index/id/${it["comic_id"].asInt}?id=${it["comic_id"].asInt}" - title = it["title"].asString - author = it["artist_name"][0].asString.split(",,").joinToString() - description = it["brief_intrd"].asString - genre = it["tag"].asJsonArray.joinToString { it["name"].asString } - status = it["finish_state"].asInt.toStatus() - thumbnail_url = it["cover_v_url"].asString - } - } - return MangasPage(mangas, jsonObject["data"]["has_next_page"].asInt == 1) - } - - // Latest - - override fun latestUpdatesRequest(page: Int): Request = - GET("$baseUrl/h5/rank/getNewComicList/page/$page?plain=1", headers) - - override fun latestUpdatesParse(response: Response): MangasPage = - popularMangaParse(response) - - // Search - - override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request { - val queryEncoded = URLEncoder.encode(query, "UTF-8") - return GET("$baseUrl/h5/search/smart/word/$queryEncoded?plain=1", headers) - } - - override fun searchMangaParse(response: Response): MangasPage { - val jsonObject = gson.fromJson(response.body!!.string()) - - return MangasPage( - jsonObject["data"].asJsonArray.map { - SManga.create().apply { - url = "/comic/index/id/${it["comic_id"].asInt}?id=${it["comic_id"].asInt}" - title = it["title"].asString - author = it["artist_name"][0].asString.split(",,").joinToString() - status = SManga.UNKNOWN - thumbnail_url = it["cover_v_url"].asString - } - }, - false - ) - } - - // Details - - // mangaDetailsRequest is used for WebView - override fun fetchMangaDetails(manga: SManga): Observable { - return client.newCall(chapterListRequest(manga)) - .asObservableSuccess() - .map { response -> - mangaDetailsParse(response).apply { initialized = true } - } - } - - // For WebView - override fun mangaDetailsRequest(manga: SManga): Request = - GET("${baseUrl}${manga.url}&type=search", headers) - - override fun mangaDetailsParse(response: Response): SManga { - val jsonObject = gson.fromJson(response.body!!.string()) - - val it = jsonObject["data"]["comic"].asJsonObject - return SManga.create().apply { - url = "/comic/index/id/${it["comic_id"].asInt}?id=${it["comic_id"].asInt}" - title = it["title"].asString - author = it["artist_name"][0].asString.split(",,").joinToString() - description = it["brief_intrd"].asString - genre = it["tag"].asJsonArray.joinToString { it["name"].asString } - status = it["finish_state"].asInt.toStatus() - thumbnail_url = it["cover_v_url"].asString - } - } - - // Chapters - - override fun chapterListRequest(manga: SManga): Request = - GET("https://m.wecomics.com/h5/comic/detail/id/${getMangaId(manga.url)}?plain=1", headers) - - override fun chapterListParse(response: Response): List { - val jsonObject = gson.fromJson(response.body!!.string()) - val mangaId = jsonObject["data"]["comic"]["comic_id"].asInt - - return jsonObject["data"]["chapter_list"].asJsonArray.map { - SChapter.create().apply { - url = "/chapter/index?id=$mangaId&cid=${it["chapter_id"]}" - name = it["title"].asString - date_upload = it["publish_time"].asLong * 1000 - chapter_number = it["seq_no"].asFloat - if (it["vip_state"].asInt == 2) scanlator = "Premium" - } - } - } - - // Pages - - override fun pageListRequest(chapter: SChapter): Request { - val (mangaId, chapterId) = getChapterId(chapter.url) - return GET("$baseUrl/h5/comic/getPictureList/id/$mangaId/cid/$chapterId?plain=1", headers) - } - - override fun pageListParse(response: Response): List { - val url = response.request.url.toString() - - // Error code 401 when not logged in and data is empty when logged in, - // assuming this is populated after a purchase - val jsonObject = gson.fromJson(response.body!!.string()) - if (jsonObject["error_code"].asInt == 401 || - jsonObject["data"]["chapter"]["data"].asString == "" - ) - throw Exception("Chapter is currently not available.\nLog in through WebView if purchased.") - - val data = jsonObject["data"]["chapter"]["data"].asString - val key = data.substring(0, 8) - val encrypted = Base64.decode(data.substring(8), Base64.DEFAULT) - val chData = XXTEA.decryptToString(encrypted, key) - - val jsonObjectInner = gson.fromJson(chData) - val cdnUrl = jsonObjectInner["cdn_base_url"].asString - - // The inner JSON contains a list of parts of files, - // the parts appear to be split at a fixed size - return jsonObjectInner["picture_list"].asJsonArray.mapIndexed { i, it -> - Page(i, url, cdnUrl + it["picture_url"].asString) - } - } - - override fun imageUrlParse(response: Response): String = - throw UnsupportedOperationException("Not used") -}