mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-26 04:03:01 +01:00
Add FlowerMangaDotCom (#3131)
* Add FlowerMangaB * Fix extClass * Fix date format * Rename source * Fix name
This commit is contained in:
parent
804aef3f1d
commit
f1c0dba8bf
10
src/pt/flowermangadotcom/build.gradle
Normal file
10
src/pt/flowermangadotcom/build.gradle
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
ext {
|
||||||
|
extName = 'FlowerManga.com'
|
||||||
|
extClass = '.FlowerMangaDotCom'
|
||||||
|
themePkg = 'madara'
|
||||||
|
baseUrl = 'https://flowermanga.com'
|
||||||
|
overrideVersionCode = 0
|
||||||
|
isNsfw = true
|
||||||
|
}
|
||||||
|
|
||||||
|
apply from: "$rootDir/common.gradle"
|
BIN
src/pt/flowermangadotcom/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/pt/flowermangadotcom/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.5 KiB |
BIN
src/pt/flowermangadotcom/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/pt/flowermangadotcom/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
BIN
src/pt/flowermangadotcom/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/pt/flowermangadotcom/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
src/pt/flowermangadotcom/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/pt/flowermangadotcom/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
BIN
src/pt/flowermangadotcom/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/pt/flowermangadotcom/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
@ -0,0 +1,22 @@
|
|||||||
|
package eu.kanade.tachiyomi.extension.pt.flowermangadotcom
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
|
class FlowerMangaDotCom : Madara(
|
||||||
|
"FlowerManga.com",
|
||||||
|
"https://flowermanga.com",
|
||||||
|
"pt-BR",
|
||||||
|
SimpleDateFormat("dd MMMMM yyyy", Locale("pt", "BR")),
|
||||||
|
) {
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val useLoadMoreRequest = LoadMoreStrategy.Never
|
||||||
|
override val useNewChapterEndpoint = false
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user