From 2bf33696704706f446310ca682fc2f801d92db28 Mon Sep 17 00:00:00 2001 From: Moustapha Kodjo Amadou <107993382+kodjodevf@users.noreply.github.com> Date: Tue, 8 Jul 2025 14:10:38 +0100 Subject: [PATCH] refactor(zorotheme): remove non functional key --- dart/anime/multisrc/zorotheme/sources.dart | 2 +- dart/anime/multisrc/zorotheme/zorotheme.dart | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/dart/anime/multisrc/zorotheme/sources.dart b/dart/anime/multisrc/zorotheme/sources.dart index b98af4f7..df781707 100644 --- a/dart/anime/multisrc/zorotheme/sources.dart +++ b/dart/anime/multisrc/zorotheme/sources.dart @@ -2,7 +2,7 @@ import '../../../../model/source.dart'; import 'src/hianime/hianime.dart'; import 'src/kaido/kaido.dart'; -const _zorothemeVersion = "0.1.7"; +const _zorothemeVersion = "0.1.75"; const _zorothemeSourceCodeUrl = "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/zorotheme/zorotheme.dart"; diff --git a/dart/anime/multisrc/zorotheme/zorotheme.dart b/dart/anime/multisrc/zorotheme/zorotheme.dart index 4cbf018a..908330db 100644 --- a/dart/anime/multisrc/zorotheme/zorotheme.dart +++ b/dart/anime/multisrc/zorotheme/zorotheme.dart @@ -342,15 +342,6 @@ class ZoroTheme extends MProvider { // credits: https://github.com/50n50/sources/blob/main/hianime/hianime.js Future getWorkingKey(String dataID) async { - try { - final res = await client.get( - Uri.parse('https://api.lunaranime.ru/static/key.txt'), - ); - final key = res.body.trim(); - final sources = await getSource(dataID, key); - if (sources != null && sources['sources'] != null) return key; - } catch (e) {} - try { final res = await client.get( Uri.parse(