refactor(zorotheme): remove non functional key

This commit is contained in:
Moustapha Kodjo Amadou
2025-07-08 14:10:38 +01:00
parent aff254b59e
commit 2bf3369670
2 changed files with 1 additions and 10 deletions

View File

@@ -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";

View File

@@ -342,15 +342,6 @@ class ZoroTheme extends MProvider {
// credits: https://github.com/50n50/sources/blob/main/hianime/hianime.js
Future<String?> 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(