Merged with dark25 (#636)
* merge merged lib, lib-multisrc, all, ar, de, en, es, fr, hi, id, it, pt, tr src from dark25 * patch
This commit is contained in:
parent
9f385108fc
commit
1384df62f3
350 changed files with 12176 additions and 1064 deletions
|
@ -1,7 +1,7 @@
|
|||
ext {
|
||||
extName = 'HentaiTk'
|
||||
extClass = '.Hentaitk'
|
||||
extVersionCode = 4
|
||||
extVersionCode = 12
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -15,4 +15,5 @@ dependencies {
|
|||
implementation(project(':lib:yourupload-extractor'))
|
||||
implementation(project(':lib:dood-extractor'))
|
||||
implementation(project(':lib:streamtape-extractor'))
|
||||
implementation(project(':lib:universal-extractor'))
|
||||
}
|
|
@ -17,6 +17,7 @@ import eu.kanade.tachiyomi.lib.okruextractor.OkruExtractor
|
|||
import eu.kanade.tachiyomi.lib.streamhidevidextractor.StreamHideVidExtractor
|
||||
import eu.kanade.tachiyomi.lib.streamtapeextractor.StreamTapeExtractor
|
||||
import eu.kanade.tachiyomi.lib.streamwishextractor.StreamWishExtractor
|
||||
import eu.kanade.tachiyomi.lib.universalextractor.UniversalExtractor
|
||||
import eu.kanade.tachiyomi.lib.voeextractor.VoeExtractor
|
||||
import eu.kanade.tachiyomi.lib.youruploadextractor.YourUploadExtractor
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
|
@ -138,9 +139,10 @@ class Hentaitk : ConfigurableAnimeSource, AnimeHttpSource() {
|
|||
private val streamWishExtractor by lazy { StreamWishExtractor(client, headers) }
|
||||
private val voeExtractor by lazy { VoeExtractor(client) }
|
||||
private val yourUploadExtractor by lazy { YourUploadExtractor(client) }
|
||||
private val streamHideVidExtractor by lazy { StreamHideVidExtractor(client) }
|
||||
private val streamHideVidExtractor by lazy { StreamHideVidExtractor(client, headers) }
|
||||
private val doodExtractor by lazy { DoodExtractor(client) }
|
||||
private val streamTapeExtractor by lazy { StreamTapeExtractor(client) }
|
||||
private val universalExtractor by lazy { UniversalExtractor(client) }
|
||||
|
||||
private fun serverVideoResolver(url: String): List<Video> {
|
||||
val embedUrl = url.lowercase()
|
||||
|
@ -161,11 +163,11 @@ class Hentaitk : ConfigurableAnimeSource, AnimeHttpSource() {
|
|||
embedUrl.contains("doodstream") || embedUrl.contains("dood.") ||
|
||||
embedUrl.contains("d000d") || embedUrl.contains("d0000d") ||
|
||||
embedUrl.contains("ds2play") || embedUrl.contains("doods")
|
||||
-> doodExtractor.videosFromUrl(url, "DoodStream")
|
||||
-> doodExtractor.videosFromUrl(url)
|
||||
embedUrl.contains("streamtape") || embedUrl.contains("stp") ||
|
||||
embedUrl.contains("stape")
|
||||
-> streamTapeExtractor.videosFromUrl(url, quality = "StreamTape")
|
||||
else -> emptyList()
|
||||
else -> universalExtractor.videosFromUrl(url, headers)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue