mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-21 06:11:02 +00:00
refactor(zorotheme): remove non functional key
This commit is contained in:
@@ -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