mirror of
https://github.com/daarkdemon/cs-darkdemon-extensions.git
synced 2024-08-14 23:57:20 +00:00
fix(AnimeWord): update rocklinks bypass
This commit is contained in:
parent
ba2d83a3bc
commit
51210ea5b7
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
version = 4
|
||||
version = 5
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -190,7 +190,7 @@ class AnimeWorldProvider : MainAPI() { // all providers must be an instance of M
|
|||
|
||||
private suspend fun bypassRockLinks(link: String) {
|
||||
val domain =
|
||||
if (link.contains("rocklinks")) "https://blog.disheye.com" else "https://cac.teckypress.in"
|
||||
if (link.contains("rocklinks")) "https://link.techyone.co" else "https://cac.teckypress.in"
|
||||
val baseUrl =
|
||||
if (link.contains("rocklinks")) "$domain/${link.substringAfterLast("/")}?quelle=" else "$domain/${
|
||||
link.substringAfterLast("/")
|
||||
|
|
Loading…
Reference in a new issue