forked from AlmightyHak/extensions-source
chore(src/es): Change Domain on Hackstore and add VidHideExtractor
Checklist: - [x] Updated `extVersionCode` value in `build.gradle` for individual extensions - [x] Have not changed source names - [x] Have explicitly kept the `id` if a source's name or language were changed - [x] Have tested the modifications by compiling and running the extension through Android Studio
This commit is contained in:
parent
97ab016138
commit
363b2b31b0
2 changed files with 8 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
ext {
|
||||
extName = 'Hackstore'
|
||||
extClass = '.Hackstore'
|
||||
extVersionCode = 9
|
||||
extVersionCode = 10
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
@ -12,4 +12,5 @@ dependencies {
|
|||
implementation(project(':lib:filemoon-extractor'))
|
||||
implementation(project(':lib:streamwish-extractor'))
|
||||
implementation(project(':lib:dood-extractor'))
|
||||
implementation(project(':lib:vidhide-extractor'))
|
||||
}
|
||||
|
|
|
@ -16,6 +16,7 @@ import eu.kanade.tachiyomi.lib.doodextractor.DoodExtractor
|
|||
import eu.kanade.tachiyomi.lib.filemoonextractor.FilemoonExtractor
|
||||
import eu.kanade.tachiyomi.lib.streamtapeextractor.StreamTapeExtractor
|
||||
import eu.kanade.tachiyomi.lib.streamwishextractor.StreamWishExtractor
|
||||
import eu.kanade.tachiyomi.lib.vidhideextractor.VidHideExtractor
|
||||
import eu.kanade.tachiyomi.lib.voeextractor.VoeExtractor
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.util.asJsoup
|
||||
|
@ -32,7 +33,7 @@ class Hackstore : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||
|
||||
override val name = "Hackstore"
|
||||
|
||||
override val baseUrl = "https://hackstore.to"
|
||||
override val baseUrl = "https://hackstore.fo"
|
||||
|
||||
override val lang = "es"
|
||||
|
||||
|
@ -177,6 +178,7 @@ class Hackstore : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||
private val filemoonExtractor by lazy { FilemoonExtractor(client) }
|
||||
private val streamWishExtractor by lazy { StreamWishExtractor(client, headers) }
|
||||
private val doodExtractor by lazy { DoodExtractor(client) }
|
||||
private val vidHideExtractor by lazy { VidHideExtractor(client, headers) }
|
||||
|
||||
override fun videoListParse(response: Response): List<Video> {
|
||||
val document = response.asJsoup()
|
||||
|
@ -202,6 +204,9 @@ class Hackstore : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||
server.contains("doodstream") || server.contains("dood.") || server.contains("ds2play") || server.contains("doods.") -> {
|
||||
doodExtractor.videosFromUrl(url, "$prefix DoodStream")
|
||||
}
|
||||
server.contains("vidhide") || server.contains("vid.") -> {
|
||||
vidHideExtractor.videosFromUrl(url) { "$prefix VidHide:$it" }
|
||||
}
|
||||
else -> emptyList()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue