fix(AnimeWord): update rocklinks bypass

This commit is contained in:
Deepak Patil 2022-12-31 13:22:26 +05:30
parent ba2d83a3bc
commit 51210ea5b7
No known key found for this signature in database
GPG Key ID: 72C2703D0D120C3D
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
version = 4
version = 5
cloudstream {

View File

@ -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("/")