From b2769cc481bbb5cf962949026d55fe8d0b2ad250 Mon Sep 17 00:00:00 2001 From: hexated Date: Wed, 1 Mar 2023 16:45:42 +0700 Subject: [PATCH] disable loklok --- Loklok/build.gradle.kts | 2 +- SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Loklok/build.gradle.kts b/Loklok/build.gradle.kts index 3c1297c7..5611c3e3 100644 --- a/Loklok/build.gradle.kts +++ b/Loklok/build.gradle.kts @@ -17,7 +17,7 @@ cloudstream { * 2: Slow * 3: Beta only * */ - status = 1 // will be 3 if unspecified + status = 0 // will be 3 if unspecified tvTypes = listOf( "AsianDrama", "Anime", diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt index 9d5a62fc..06f2b938 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt @@ -2608,7 +2608,7 @@ object SoraExtractor : SoraStream() { it.first.equals("$title - Season $season", true) } } - } + } ?: el.find { it.first.contains("$title", true) && it.second.equals("$year") } } ?: return val iframe = if (season == null) {