mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 02:41:39 +00:00
refactor(zorotheme): remove non functional key
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user