mirror of
https://github.com/Jacekun/cs3xxx-repo.git
synced 2024-08-14 23:57:09 +00:00
Various cleanups and fixes on build
This commit is contained in:
parent
1393dae52e
commit
84b1e288f7
4 changed files with 10 additions and 44 deletions
|
@ -5,7 +5,7 @@ version = 1
|
|||
cloudstream {
|
||||
// All of these properties are optional, you can safely remove them
|
||||
|
||||
description = ""
|
||||
description = "HD JAV Library"
|
||||
authors = listOf("Jace")
|
||||
|
||||
/**
|
||||
|
|
|
@ -235,8 +235,11 @@ class JavHD : MainAPI() {
|
|||
count++
|
||||
when {
|
||||
vid.startsWith("https://javhdfree.icu") -> {
|
||||
FEmbed().getSafeUrl(
|
||||
url = vid,
|
||||
val editedLink = vid.removePrefix("https://")
|
||||
val idx = editedLink.indexOf('/', 0) + 1
|
||||
val finalLink = "https://embedsito.com/${editedLink.substring(idx)}"
|
||||
loadExtractor(
|
||||
url = finalLink,
|
||||
referer = vid,
|
||||
subtitleCallback = subtitleCallback,
|
||||
callback = callback
|
||||
|
@ -244,7 +247,7 @@ class JavHD : MainAPI() {
|
|||
}
|
||||
vid.startsWith("https://viewsb.com") -> {
|
||||
val url = vid.replace("viewsb.com", "watchsb.com")
|
||||
WatchSB().getSafeUrl(
|
||||
loadExtractor(
|
||||
url = url,
|
||||
referer = url,
|
||||
subtitleCallback = subtitleCallback,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue